Skip to content

Commit

Permalink
Separate WSAPlayer and tvOS builders
Browse files Browse the repository at this point in the history
  • Loading branch information
szymmirr committed Nov 21, 2023
1 parent 4437cf5 commit d8a79d7
Showing 1 changed file with 31 additions and 3 deletions.
34 changes: 31 additions & 3 deletions .github/workflows/unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,42 @@ jobs:
name: Frog-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}

build-on-windows:
build-on-windows-latest:
name: Build ${{ matrix.targetPlatform }}
runs-on: windows-latest
strategy:
matrix:
targetPlatform:
- tvOS
unityVersion:
- 2019.4.5f1
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Unity Builder
uses: game-ci/[email protected]
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
unityVersion: ${{ matrix.unityVersion }}

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: Frog-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}

build-on-windows-2019:
name: Build ${{ matrix.targetPlatform }}
runs-on: windows-2019
strategy:
matrix:
targetPlatform:
- WSAPlayer
- tvOS
unityVersion:
- 2019.4.5f1
steps:
Expand All @@ -64,7 +92,7 @@ jobs:
unityVersion: ${{ matrix.unityVersion }}

- name: Upload artifact
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v3
with:
name: Frog-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}

0 comments on commit d8a79d7

Please sign in to comment.