Update main.yml

This commit is contained in:
Sam Farmer 2020-10-29 13:01:12 -05:00 committed by GitHub
parent 229b964a32
commit 360556d19f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,37 +67,3 @@ jobs:
with: with:
name: Test results (all modes) name: Test results (all modes)
path: ${{ steps.testRunner.outputs.artifactsPath }} path: ${{ steps.testRunner.outputs.artifactsPath }}
build:
needs: [checklicense]
if: needs.checklicense.outputs.is_unity_license_set == 'true'
name: Build for ${{ matrix.targetPlatform }} on version ${{ matrix.unityVersion }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneOSX
- StandaloneWindows64
- StandaloneLinux64
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/cache@v1.1.0
with:
path: ${{ matrix.projectPath }}/Library
key: Library-${{ matrix.projectPath }}-${{ matrix.targetPlatform }}
restore-keys: |
Library-${{ matrix.projectPath }}-
Library-
- uses: webbertakken/unity-builder@v1.4
with:
projectPath: ${{ env.PROJECT_PATH }}
unityVersion: ${{ env.UNITY_VERSION }}
targetPlatform: ${{ matrix.targetPlatform }}
customParameters: "-nographics"
- uses: actions/upload-artifact@v1
with:
name: Build
path: build