diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8f1440..c2e51c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,12 @@ jobs: key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }} 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