From 61cfe042d6adcfc48e628ab9f6e3ad16eb6a7ee2 Mon Sep 17 00:00:00 2001 From: JumiDeluxe Date: Mon, 13 Nov 2023 12:07:16 +0100 Subject: [PATCH] test artifacts with dummy container id --- .github/workflows/main.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c58796b8c..6bf1bc51e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,18 +32,18 @@ jobs: cache-name: cache-regression-tests with: path: test/external/riscv-tests/test-* - key: ${{ env.cache-name }}-${{ runner.os }}-${{ - job.container.id }}-${{ hashFiles( + key: ${{ env.cache-name }}-${{ runner.os }}-dummy_id-${{ hashFiles( '**/test/external/riscv-tests/environment/**', '**/test/external/riscv-tests/Makefile}' ) }} restore-keys: | - ${{ env.cache-name }}-${{ runner.os }}-${{ job.container.id }}- + ${{ env.cache-name }}-${{ runner.os }}-dummy_id- - if: ${{ steps.cache-regression.outputs.cache-hit != 'true' }} run: cd test/external/riscv-tests && make - - name: Upload riscv-tests + - if: ${{ steps.cache-regression.outputs.cache-hit != 'true' }} + name: Upload riscv-tests uses: actions/upload-artifact@v3 with: path: test/external/riscv-tests @@ -82,8 +82,7 @@ jobs: cache-name: cache-regression-tests with: path: test/external/riscv-tests/test-* - key: ${{ env.cache-name }}-${{ runner.os }}-${{ - needs.build-regression-tests.outputs.container_id }}-${{ hashFiles( + key: ${{ env.cache-name }}-${{ runner.os }}-dummy_id-${{ hashFiles( '**/test/external/riscv-tests/environment/**', '**/test/external/riscv-tests/Makefile}' ) }}