-
Notifications
You must be signed in to change notification settings - Fork 134
51 lines (49 loc) · 1.65 KB
/
build-pal3a-mono-windows.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
name: Builds - PAL3A - Mono - Windows
on: [push, pull_request]
jobs:
build_pal3a_mono_windows:
name: Build PAL3A for ${{ matrix.targetPlatform }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneWindows # Build a Windows standalone.
- StandaloneWindows64 # Build a Windows 64-bit standalone.
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
lfs: true
- name: Switch define symbol from PAL3 to PAL3A
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "PAL3"
replace: "PAL3A"
include: "**ProjectSettings.asset"
- name: Replace PAL3 game icon with PAL3A one
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "6b32649dccc45df4ebe8e3f8eccee249"
replace: "d03d417e5660d5849939c8fe43732dbd"
include: "**ProjectSettings.asset"
- uses: actions/[email protected]
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
allowDirtyBuild: true
targetPlatform: ${{ matrix.targetPlatform }}
buildName: PAL3A
versioning: Semantic
- uses: actions/[email protected]
with:
name: PAL3A-Mono-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
retention-days: 14