diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 056e796e..97e301c8 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -41,9 +41,9 @@ jobs: id: check-existing-cache with: path: | - ${{ github.workspace }}/testfiles - !${{ github.workspace }}/testfiles/.git - !${{ github.workspace }}/testfiles/*.7z + testfiles + !testfiles/.git + !testfiles/*.7z restore-keys: | testfiles key: "testfiles-${{ steps.clone-test-file-repo.outputs.commit }}" @@ -61,9 +61,9 @@ jobs: if: steps.check-existing-cache.outputs.cache-hit != 'true' with: path: | - ${{ github.workspace }}/testfiles - !${{ github.workspace }}/testfiles/.git - !${{ github.workspace }}/testfiles/*.7z + testfiles + !testfiles/.git + !testfiles/*.7z key: "testfiles-${{ steps.clone-test-file-repo.outputs.commit }}" enableCrossOsArchive: true diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml index 02128513..cddbe024 100644 --- a/.github/workflows/pipeline.yaml +++ b/.github/workflows/pipeline.yaml @@ -169,9 +169,9 @@ jobs: uses: actions/cache/restore@v4 with: path: | - ${{ github.workspace }}/testfiles - !${{ github.workspace }}/testfiles/.git - !${{ github.workspace }}/testfiles/*.7z + testfiles + !testfiles/.git + !testfiles/*.7z restore-keys: | testfiles key: ${{ inputs.testfiles-cache-key }}