From 84f7a00d3f344a3c10e07252fa2820dabbcd98e2 Mon Sep 17 00:00:00 2001 From: Bruno Alexandre Rosa <1791393+brunoalr@users.noreply.github.com> Date: Mon, 2 Mar 2026 22:42:28 -0300 Subject: [PATCH] add warning messages --- .github/workflows/desktop-build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index 29278e183..5543d60cf 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -202,11 +202,12 @@ jobs: --ccache "$CCACHE_SIZE" $NO_CLIENT .ci/name_build.sh + # Delete stale ccache so Save can refresh it; failures are non-fatal (e.g. no prior cache) - name: Delete stale ccache if: github.ref == 'refs/heads/master' env: GH_TOKEN: ${{github.token}} - run: gh cache delete "${{ steps.ccache_restore.outputs.cache-primary-key }}" || true + run: gh cache delete "${{ steps.ccache_restore.outputs.cache-primary-key }}" || echo "warning: cache delete failed" - name: Save compiler cache (ccache) if: github.ref == 'refs/heads/master' @@ -449,11 +450,12 @@ jobs: TARGET_MACOS_VERSION: ${{ matrix.override_target }} run: .ci/compile.sh --server --test --vcpkg + # Delete stale ccache so Save can refresh it; failures are non-fatal (e.g. no prior cache) - name: Delete stale ccache if: github.ref == 'refs/heads/master' && matrix.use_ccache == 1 env: GH_TOKEN: ${{github.token}} - run: gh cache delete "${{ steps.ccache_restore.outputs.cache-primary-key }}" || true + run: gh cache delete "${{ steps.ccache_restore.outputs.cache-primary-key }}" || echo "warning: cache delete failed" - name: Save compiler cache (ccache) if: github.ref == 'refs/heads/master' && matrix.use_ccache == 1