Skip to content

Commit

Permalink
Changes cache name
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein committed Sep 20, 2023
1 parent 5c5b6f4 commit 5855597
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
id: cache-docker-image-restore
uses: actions/cache/restore@v3
env:
cache-name: cache-docker-image
cache-name: cached-image
with:
path: /tmp/build-image.tar
key: ${{ runner.os }}-docker-image-${{ env.cache-name }}-${{ hashFiles('build/package/Dockerfile') }}
Expand All @@ -62,7 +62,7 @@ jobs:
id: cache-docker-image-save
uses: actions/cache/save@v3
env:
cache-name: cache-docker-image
cache-name: cached-image
with:
path: /tmp/build-image.tar
key: ${{ runner.os }}-docker-image-${{ env.cache-name }}-${{ hashFiles('build/package/Dockerfile') }}
Expand All @@ -86,7 +86,7 @@ jobs:
id: cache-docker-image
uses: actions/cache/restore@v3
env:
cache-name: cache-docker-image
cache-name: cached-image
with:
path: /tmp/build-image.tar
key: ${{ runner.os }}-docker-image-${{ env.cache-name }}-${{ hashFiles('/tmp/build-image.tar') }}
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
id: cache-docker-image
uses: actions/cache/restore@v3
env:
cache-name: cache-docker-image
cache-name: cached-image
with:
path: /tmp/build-image.tar
key: ${{ runner.os }}-docker-image-${{ env.cache-name }}-${{ hashFiles('/tmp/build-image.tar') }}
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
id: cache-docker-image
uses: actions/cache/restore@v3
env:
cache-name: cache-docker-image
cache-name: cached-image
with:
path: /tmp/build-image.tar
key: ${{ runner.os }}-docker-image-${{ env.cache-name }}-${{ hashFiles('/tmp/build-image.tar') }}
Expand Down Expand Up @@ -247,7 +247,7 @@ jobs:
id: cache-docker-image
uses: actions/cache/restore@v3
env:
cache-name: cache-docker-image
cache-name: cached-image
with:
path: /tmp/build-image.tar
key: ${{ runner.os }}-docker-image-${{ env.cache-name }}-${{ hashFiles('/tmp/build-image.tar') }}
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
id: cache-docker-image
uses: actions/cache/restore@v3
env:
cache-name: cache-docker-image
cache-name: cached-image
with:
path: /tmp/build-image.tar
key: ${{ runner.os }}-docker-image-${{ env.cache-name }}-${{ hashFiles('/tmp/build-image.tar') }}
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
id: cache-docker-image
uses: actions/cache/restore@v3
env:
cache-name: cache-docker-image
cache-name: cached-image
with:
path: /tmp/build-image.tar
key: ${{ runner.os }}-docker-image-${{ env.cache-name }}-${{ hashFiles('/tmp/build-image.tar') }}
Expand Down Expand Up @@ -485,7 +485,7 @@ jobs:
path: /tmp/linux-amd64-image.tar
key: ${{ env.cache-name }}-${{ hashFiles('test/docker/Dockerfile') }}
env:
cache-name: cache-linux-amd64-image
cache-name: cached-linux-amd64-image
os: linux-amd64
-
if: ${{ steps.cache-linux-amd64-restore.outputs.cache-hit != 'true' }}
Expand All @@ -507,7 +507,7 @@ jobs:
id: cache-linux-amd64-image-save
uses: actions/cache/save@v3
env:
cache-name: cache-linux-amd64-image
cache-name: cached-linux-amd64-image
with:
path: /tmp/linux-amd64-image.tar
key: ${{ env.cache-name }}-${{ hashFiles('test/docker/Dockerfile') }}
Expand Down Expand Up @@ -542,7 +542,7 @@ jobs:
id: cache-linux-amd64-image
uses: actions/cache/restore@v3
env:
cache-name: cache-linux-amd64-image
cache-name: cached-linux-amd64-image
with:
path: /tmp/linux-amd64-image.tar
key: ${{ env.cache-name }}-${{ hashFiles('test/docker/Dockerfile') }}
Expand Down Expand Up @@ -596,7 +596,7 @@ jobs:
path: /tmp/linux-arm64-image.tar
key: ${{ env.cache-name }}-${{ hashFiles('test/docker/Dockerfile') }}
env:
cache-name: cache-linux-arm64-image
cache-name: cached-linux-arm64-image
os: linux-arm64
-
if: ${{ steps.cache-linux-arm64-restore.outputs.cache-hit != 'true' }}
Expand All @@ -618,7 +618,7 @@ jobs:
id: cache-linux-arm64-image-save
uses: actions/cache/save@v3
env:
cache-name: cache-linux-arm64-image
cache-name: cached-linux-arm64-image
with:
path: /tmp/linux-arm64-image.tar
key: ${{ env.cache-name }}-${{ hashFiles('test/docker/Dockerfile') }}
Expand Down Expand Up @@ -663,7 +663,7 @@ jobs:
id: cache-linux-arm64-image
uses: actions/cache/restore@v3
env:
cache-name: cache-linux-arm64-image
cache-name: cached-linux-arm64-image
with:
path: /tmp/linux-arm64-image.tar
key: ${{ env.cache-name }}-${{ hashFiles('test/docker/Dockerfile') }}
Expand Down

0 comments on commit 5855597

Please sign in to comment.