From c70d1bbc476a0c815f76df7ab39d1cc85802221c Mon Sep 17 00:00:00 2001 From: Burrito <37681398+burritosoftware@users.noreply.github.com> Date: Tue, 1 Aug 2023 19:58:29 +0000 Subject: [PATCH 1/4] Cache Docker Unity editor image --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8f1440..bdb47e9 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: From 2d05948c227235980606ff62ac52704d65a4cc6d Mon Sep 17 00:00:00 2001 From: Burrito <37681398+burritosoftware@users.noreply.github.com> Date: Tue, 1 Aug 2023 21:40:46 +0000 Subject: [PATCH 2/4] Update build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bdb47e9..d8ac160 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,8 +40,8 @@ jobs: - 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 + Remove-Item -Recurse -Force C:\github\workspace\build\WACVR_BurstDebugInformation_DoNotShip + Remove-Item -Recurse -Force C:\github\workspace\build\WACVR_BackUpThisFolder_ButDontShipItWithYourGame shell: powershell - name: Upload artifact From ce1619bc0b5c201cd9de975915c3bde2e598db86 Mon Sep 17 00:00:00 2001 From: Burrito <37681398+burritosoftware@users.noreply.github.com> Date: Tue, 1 Aug 2023 23:08:45 +0000 Subject: [PATCH 3/4] Upload without nested folders, fix paths --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8ac160..6ff3261 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,11 +40,11 @@ jobs: - name: Clean debug folders run: | - Remove-Item -Recurse -Force C:\github\workspace\build\WACVR_BurstDebugInformation_DoNotShip - Remove-Item -Recurse -Force C:\github\workspace\build\WACVR_BackUpThisFolder_ButDontShipItWithYourGame + Remove-Item -Recurse -Force C:\github\workspace\build\StandaloneWindows64\WACVR_BurstDebugInformation_DoNotShip + Remove-Item -Recurse -Force C:\github\workspace\build\StandaloneWindows64\WACVR_BackUpThisFolder_ButDontShipItWithYourGame shell: powershell - name: Upload artifact uses: actions/upload-artifact@v3.0.0 with: - path: build + path: build\StandaloneWindows64 From f53444d03adecff8e9f69084f1a3dd396d3ade4f Mon Sep 17 00:00:00 2001 From: Burrito <37681398+burritosoftware@users.noreply.github.com> Date: Tue, 1 Aug 2023 17:48:38 -0700 Subject: [PATCH 4/4] Trying a deletion action --- .github/workflows/build.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ff3261..c2e51c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,11 +38,15 @@ jobs: targetPlatform: StandaloneWindows64 buildName: WACVR - - name: Clean debug folders - run: | - Remove-Item -Recurse -Force C:\github\workspace\build\StandaloneWindows64\WACVR_BurstDebugInformation_DoNotShip - Remove-Item -Recurse -Force C:\github\workspace\build\StandaloneWindows64\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