diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30c71a7e4..f3ecad400 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -93,10 +93,6 @@ jobs: fi shell: bash - - if: always() - name: Show ccache statistics - run: ccache --show-stats - - name: Upload artifacts uses: actions/upload-artifact@v4 with: @@ -104,6 +100,10 @@ jobs: name: ${{ format( 'dist-{0}', matrix.artifact) }} path: build/dist + - if: always() + name: Show ccache statistics + run: ccache --show-stats + - if: always() && steps.cache-restore.outputs.cache-hit != 'true' uses: actions/cache/save@v4 with: