Skip to content

Add dotnet and csharpier formatting checks #4

Add dotnet and csharpier formatting checks

Add dotnet and csharpier formatting checks #4

Workflow file for this run

name: Build Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
buildForAllSupportedPlatforms:
name: Build for ${{ matrix.targetPlatform }}
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneWindows
- StandaloneWindows64
steps:
- name: Chown files to koala
run: sudo chown -R 'koala:' ~/office-runner/_work --recursive
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: game-ci/unity-builder@v3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
- uses: actions/upload-artifact@v3
with:
name: Build-${{ matrix.targetPlatform }}
path: build/${{ matrix.targetPlatform }}
if: github.event.pull_request.merged
- name: Chown files to koala
run: sudo chown -R 'koala:' ~/office-runner/_work --recursive