Skip to content

Commit 106c6b4

Browse files
committed
use github run id as cache key refinement
1 parent 5096587 commit 106c6b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-plugin.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
id: plugin-version-cache
2121
with:
2222
path: plugin.json
23-
key: ${{ github.sha }}
23+
key: ${{ github.sha }}-${{ github.run_id }}
2424
- run: |
2525
gitrev=`git rev-parse --short HEAD`
2626
pluginversion=`jq -r '.version' plugin.json`
@@ -47,7 +47,7 @@ jobs:
4747
id: plugin-version-cache
4848
with:
4949
path: plugin.json
50-
key: ${{ github.sha }}
50+
key: ${{ github.sha }}-${{ github.run_id }}
5151
- name: Build plugin
5252
run: |
5353
export PLUGIN_DIR=$GITHUB_WORKSPACE
@@ -71,7 +71,7 @@ jobs:
7171
id: plugin-version-cache
7272
with:
7373
path: plugin.json
74-
key: ${{ github.sha }}
74+
key: ${{ github.sha }}-${{ github.run_id }}
7575
- name: Get Rack-SDK
7676
run: |
7777
pushd $HOME

0 commit comments

Comments
 (0)