1
0
mirror of synced 2025-02-07 15:01:28 +01:00
WACVR/.github/workflows/build.yml
2023-08-01 03:55:46 +00:00

45 lines
1.1 KiB
YAML

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-
- 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 folders
run: |
rmdir build\WACVR_BurstDebugInformation_DoNotShip /s /q
rmdir build\WACVR_BackUpThisFolder_ButDontShipItWithYourGame /s /q
- name: Upload artifact
uses: actions/upload-artifact@v3.0.0
with:
path: build