Proper employee serialization #391
Workflow file for this run
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 Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
buildForStandaloneWindows64: | |
if: github.event.pull_request.draft == false | |
runs-on: self-hosted | |
steps: | |
- name: Chown files to koala | |
if: ${{ always() }} | |
run: sudo chown -R 'koala:' ~/office-runner/_work --recursive | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- uses: actions/cache@v4 | |
with: | |
path: JamGame/Library | |
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | |
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: | |
projectPath: JamGame | |
targetPlatform: StandaloneWindows64 | |
runAsHostUser: true | |
chownFilesTo: koala | |
- name: Chown files to koala | |
if: ${{ always() }} | |
run: sudo chown -R 'koala:' ~/office-runner/_work --recursive | |
buildForStandaloneWindows: | |
if: github.event.pull_request.draft == false | |
runs-on: self-hosted | |
steps: | |
- name: Chown files to koala | |
if: ${{ always() }} | |
run: sudo chown -R 'koala:' ~/office-runner/_work --recursive | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- uses: actions/cache@v4 | |
with: | |
path: JamGame/Library | |
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} | |
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: | |
projectPath: JamGame | |
targetPlatform: StandaloneWindows | |
runAsHostUser: true | |
chownFilesTo: koala | |
- name: Chown files to koala | |
if: ${{ always() }} | |
run: sudo chown -R 'koala:' ~/office-runner/_work --recursive | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true |