Build WACVR #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build WACVR | |
on: | |
push: | |
paths: | |
- 'Assets/**' | |
- 'Packages/**' | |
- 'ProjectSettings/**' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Cache project | |
uses: actions/cache@v2 | |
with: | |
path: Library | |
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | |
restore-keys: | | |
Library- | |
- name: Cache Docker image | |
uses: ScribeMD/[email protected] | |
with: | |
key: docker-${{ runner.os }}-${{ hashFiles('ProjectSettings/ProjectVersion.txt') }} | |
- uses: game-ci/unity-builder@v2 | |
name: Build project | |
env: | |
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} | |
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | |
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | |
with: | |
targetPlatform: StandaloneWindows64 | |
buildName: WACVR | |
- name: Clean debug folder | |
uses: JesseTG/[email protected] | |
with: | |
path: build\StandaloneWindows64\WACVR_BurstDebugInformation_DoNotShip | |
- name: Clean backup folder | |
uses: JesseTG/[email protected] | |
with: | |
path: build\StandaloneWindows64\WACVR_BackUpThisFolder_ButDontShipItWithYourGame | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
path: build\StandaloneWindows64 |