3 Commits
dev ... master

Author SHA1 Message Date
72a2cbb733 Add build action on new tag
Build various platforms if a new tag matching v* is created
2022-05-11 13:55:20 +02:00
a92e644ddf Merge pull request #2 from JanGross/dev
Merge final changes into master
2022-05-11 12:07:42 +02:00
c5398418f0 Merge pull request #1 from dev into master
Final gamerjam state
2022-04-30 14:38:07 +02:00

39
.github/workflows/build_release.yaml vendored Normal file
View File

@@ -0,0 +1,39 @@
name: Build Release
on:
push:
tags:
- 'v*'
jobs:
buildForAllPlatforms:
name: Build for ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneWindows64 # Build a Windows 64-bit standalone.
- StandaloneLinux64 # Build a Linux 64-bit standalone.
- WebGL # WebGL.
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v2
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
- uses: actions/upload-artifact@v2
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}