Split windows builds
This commit is contained in:
parent
1dff1659f4
commit
5b853f4aaa
34
.github/workflows/main.yml
vendored
34
.github/workflows/main.yml
vendored
@ -129,15 +129,13 @@ jobs:
|
||||
path: build
|
||||
|
||||
buildWithWindows:
|
||||
needs: [buildWithMac]
|
||||
needs: [build]
|
||||
name: Build for ${{ matrix.targetPlatform }}
|
||||
runs-on: windows-2019
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneWindows
|
||||
- StandaloneWindows64
|
||||
- WSAPlayer
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -158,3 +156,33 @@ jobs:
|
||||
with:
|
||||
name: Build-${{ matrix.targetPlatform }}
|
||||
path: build
|
||||
|
||||
buildWithWindows2:
|
||||
needs: [buildWithWindows]
|
||||
name: Build for ${{ matrix.targetPlatform }}
|
||||
runs-on: windows-2019
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
targetPlatform:
|
||||
- StandaloneWindows
|
||||
- StandaloneWindows64
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
lfs: true
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: Library
|
||||
key: Library-${{ matrix.targetPlatform }}
|
||||
- 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@v3
|
||||
with:
|
||||
name: Build-${{ matrix.targetPlatform }}
|
||||
path: build
|
||||
|
Loading…
Reference in New Issue
Block a user