From 5b853f4aaa344f78d2aeea52ba27095ff5a50bcc Mon Sep 17 00:00:00 2001 From: David Finol Date: Fri, 21 Apr 2023 22:24:31 -0500 Subject: [PATCH] Split windows builds --- .github/workflows/main.yml | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eec2ee5..b0af6d9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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