Final GameCI setup
Final GameCI setup
This commit is contained in:
commit
bec454bb7f
21
.github/workflows/build.yml
vendored
21
.github/workflows/build.yml
vendored
@ -23,6 +23,11 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
Library-
|
Library-
|
||||||
|
|
||||||
|
- name: Cache Docker image
|
||||||
|
uses: ScribeMD/docker-cache@0.3.4
|
||||||
|
with:
|
||||||
|
key: docker-${{ runner.os }}-${{ hashFiles('ProjectSettings/ProjectVersion.txt') }}
|
||||||
|
|
||||||
- uses: game-ci/unity-builder@v2
|
- uses: game-ci/unity-builder@v2
|
||||||
name: Build project
|
name: Build project
|
||||||
env:
|
env:
|
||||||
@ -33,13 +38,17 @@ jobs:
|
|||||||
targetPlatform: StandaloneWindows64
|
targetPlatform: StandaloneWindows64
|
||||||
buildName: WACVR
|
buildName: WACVR
|
||||||
|
|
||||||
- name: Clean debug folders
|
- name: Clean debug folder
|
||||||
run: |
|
uses: JesseTG/rm@v1.0.3
|
||||||
Remove-Item -Recurse -Force $env:GITHUB_WORKSPACE\build\WACVR_BurstDebugInformation_DoNotShip
|
with:
|
||||||
Remove-Item -Recurse -Force $env:GITHUB_WORKSPACE\build\WACVR_BackUpThisFolder_ButDontShipItWithYourGame
|
path: build\StandaloneWindows64\WACVR_BurstDebugInformation_DoNotShip
|
||||||
shell: powershell
|
|
||||||
|
- name: Clean backup folder
|
||||||
|
uses: JesseTG/rm@v1.0.3
|
||||||
|
with:
|
||||||
|
path: build\StandaloneWindows64\WACVR_BackUpThisFolder_ButDontShipItWithYourGame
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3.0.0
|
uses: actions/upload-artifact@v3.0.0
|
||||||
with:
|
with:
|
||||||
path: build
|
path: build\StandaloneWindows64
|
||||||
|
Loading…
Reference in New Issue
Block a user