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: |
|
||||
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
|
||||
name: Build project
|
||||
env:
|
||||
@ -33,13 +38,17 @@ jobs:
|
||||
targetPlatform: StandaloneWindows64
|
||||
buildName: WACVR
|
||||
|
||||
- name: Clean debug folders
|
||||
run: |
|
||||
Remove-Item -Recurse -Force $env:GITHUB_WORKSPACE\build\WACVR_BurstDebugInformation_DoNotShip
|
||||
Remove-Item -Recurse -Force $env:GITHUB_WORKSPACE\build\WACVR_BackUpThisFolder_ButDontShipItWithYourGame
|
||||
shell: powershell
|
||||
- name: Clean debug folder
|
||||
uses: JesseTG/rm@v1.0.3
|
||||
with:
|
||||
path: build\StandaloneWindows64\WACVR_BurstDebugInformation_DoNotShip
|
||||
|
||||
- name: Clean backup folder
|
||||
uses: JesseTG/rm@v1.0.3
|
||||
with:
|
||||
path: build\StandaloneWindows64\WACVR_BackUpThisFolder_ButDontShipItWithYourGame
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3.0.0
|
||||
with:
|
||||
path: build
|
||||
path: build\StandaloneWindows64
|
||||
|
Loading…
Reference in New Issue
Block a user