From 831a2bacb2251de7afa6a4d0505f83a6c2d8b4ae Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Thu, 19 Jun 2025 09:57:12 +0200 Subject: [PATCH] cache compose tests --- .github/workflows/test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9bcc30cff9..9a43c75955 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,9 +53,6 @@ jobs: path: ${{ env.CACHE_DIR }} key: login-run-caches-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} restore-keys: login-run-caches-latest - - name: Clean up Run Caches - if: ${{ github.event.inputs.clean-run-caches == 'true' }} - run: make clean-run-caches - name: Show Run Caches run: make show-run-caches - run: make login-quality @@ -64,9 +61,10 @@ jobs: BAKE_CLI: depot bake DEPOT_PROJECT_ID: jp837jn3fm DOCKER_METADATA_OUTPUT_VERSION: ${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }} + FORCE: ${{ github.event.inputs.clean-run-caches == 'true' }} - name: Save Run Caches uses: actions/cache/save@v4 with: path: ${{ env.CACHE_DIR }} key: ${{ steps.run-caches-restore.outputs.cache-primary-key }} - if: always() && steps.run-caches-restore.outputs.cache-hit != 'true' + if: always()