Split windows builds

This commit is contained in:
David Finol 2023-04-21 22:24:31 -05:00
parent 1dff1659f4
commit 5b853f4aaa

View File

@ -129,15 +129,13 @@ jobs:
path: build path: build
buildWithWindows: buildWithWindows:
needs: [buildWithMac] needs: [build]
name: Build for ${{ matrix.targetPlatform }} name: Build for ${{ matrix.targetPlatform }}
runs-on: windows-2019 runs-on: windows-2019
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
targetPlatform: targetPlatform:
- StandaloneWindows
- StandaloneWindows64
- WSAPlayer - WSAPlayer
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -158,3 +156,33 @@ jobs:
with: with:
name: Build-${{ matrix.targetPlatform }} name: Build-${{ matrix.targetPlatform }}
path: build 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