-
Notifications
You must be signed in to change notification settings - Fork 11
57 lines (55 loc) · 1.49 KB
/
verify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Verify Pull Request
on:
pull_request: { }
workflow_dispatch: { }
jobs:
fmod:
name: Build FMOD
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
with:
lfs: true
- uses: ./.github/actions/fmod
- uses: actions/upload-artifact@v3
with:
name: FMOD Build
path: .fmod/Build
build:
name: Build for ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
needs: fmod
timeout-minutes: 15
strategy:
matrix:
targetPlatform:
- StandaloneWindows64
steps:
- uses: actions/checkout@v3
with:
lfs: true
- uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: actions/download-artifact@v3
with:
name: FMOD Build
path: .fmod/Build
- uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
gitPrivateToken: ${{ secrets.PACKAGES_TOKEN }}
unityVersion: 2022.3.6f1
targetPlatform: ${{ matrix.targetPlatform }}
versioning: Tag
buildMethod: Editor.BuildScript.Build
- uses: actions/upload-artifact@v3
with:
name: Build
path: build/${{ matrix.targetPlatform }}