add warning messages

This commit is contained in:
Bruno Alexandre Rosa 2026-03-02 22:42:28 -03:00
parent 1292f926d9
commit 84f7a00d3f

View file

@ -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