Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ea75b2f

Browse files
authored
Merge pull request #2107 from arduino/fix-cache-key
Use refname for cache key
2 parents 123683d + dce6da4 commit ea75b2f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎.github/workflows/deploy-production.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
id: gatsby-cache-folder
5151
with:
5252
path: .cache
53-
key: ${{ runner.os }}-cache-gatsby-${{ github.ref }}
53+
key: ${{ runner.os }}-cache-gatsby-${{ github.refname }}
5454
restore-keys: |
5555
${{ runner.os }}-cache-gatsby-main
5656
@@ -59,7 +59,7 @@ jobs:
5959
id: gatsby-public-folder
6060
with:
6161
path: public/
62-
key: ${{ runner.os }}-public-gatsby-${{ github.ref }}
62+
key: ${{ runner.os }}-public-gatsby-${{ github.refname }}
6363
restore-keys: |
6464
${{ runner.os }}-public-gatsby-main
6565

‎.github/workflows/deploy-staging.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
id: gatsby-cache-folder
5050
with:
5151
path: .cache
52-
key: ${{ runner.os }}-cache-gatsby-${{ github.ref }}
52+
key: ${{ runner.os }}-cache-gatsby-${{ github.refname }}
5353
restore-keys: |
5454
${{ runner.os }}-cache-gatsby-main
5555
@@ -58,7 +58,7 @@ jobs:
5858
id: gatsby-public-folder
5959
with:
6060
path: public/
61-
key: ${{ runner.os }}-public-gatsby-${{ github.ref }}
61+
key: ${{ runner.os }}-public-gatsby-${{ github.refname }}
6262
restore-keys: |
6363
${{ runner.os }}-public-gatsby-main
6464

‎.github/workflows/preview.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
id: gatsby-cache-folder
7070
with:
7171
path: .cache
72-
key: ${{ runner.os }}-cache-gatsby-${{ github.ref }}
72+
key: ${{ runner.os }}-cache-gatsby-${{ github.refname }}
7373
restore-keys: |
7474
${{ runner.os }}-cache-gatsby-main
7575
@@ -78,7 +78,7 @@ jobs:
7878
id: gatsby-public-folder
7979
with:
8080
path: public/
81-
key: ${{ runner.os }}-public-gatsby-${{ github.ref }}
81+
key: ${{ runner.os }}-public-gatsby-${{ github.refname }}
8282
restore-keys: |
8383
${{ runner.os }}-public-gatsby-main
8484

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /