From 258481b0ba50ec859d39175a88ceb4bc7d5339ae Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 27 Dec 2023 21:11:27 +0100 Subject: [PATCH] git: Fix errors and warnings thrown by CI --- .github/workflows/build.yml | 2 +- .github/workflows/build_web.yml | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cdd066750..b8d182ea0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -282,7 +282,7 @@ jobs: GH_TOKEN: ${{ github.token }} run: | gh extension install actions/gh-actions-cache - gh actions-cache delete "build-macos-arm64-cache" --confirm + gh actions-cache delete "build-macos-arm64-cache" --confirm || true # Ubuntu build ubuntu: diff --git a/.github/workflows/build_web.yml b/.github/workflows/build_web.yml index 40f0d389a..8c400d7d1 100644 --- a/.github/workflows/build_web.yml +++ b/.github/workflows/build_web.yml @@ -29,7 +29,7 @@ jobs: uses: actions/cache@v3 with: path: cache - key: build-web-cache + key: ${{ runner.os }}-cmakecache-${{ hashFiles('**/CMakeLists.txt') }} - name: 🐳 Inject /cache into docker uses: reproducible-containers/buildkit-cache-dance@v2.1.2 @@ -43,9 +43,7 @@ jobs: - name: 🔨 Fix permissions run: | - chmod -c -R +rX "out/" | while read line; do - echo "::warning title=Invalid file permissions automatically fixed::$line" - done + chmod -c -R +rX "out/" - name: ⬆️ Upload artifacts uses: actions/upload-pages-artifact@v2