Update main.yml
This commit is contained in:
parent
229b964a32
commit
360556d19f
34
.github/workflows/main.yml
vendored
34
.github/workflows/main.yml
vendored
@ -67,37 +67,3 @@ jobs:
|
||||
with:
|
||||
name: Test results (all modes)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user