Skip to content

Commit 3d0243e

Browse files
committed
Fix action
1 parent 916ce3b commit 3d0243e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/actions/initialize-dspm/action.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ runs:
1919
uses: actions/cache/restore@v4
2020
with:
2121
path: ${{inputs.build-dir}}/dist
22-
key: ${{ runner.os }}-dspm-${{ inputs.ref }}-${{ github.sha }}
23-
restore-keys: |
24-
${{ runner.os }}-dspm-${{ inputs.ref }}-
22+
key: ${{ runner.os }}-dspm-${{ inputs.ref }}
2523

2624
- name: Checkout
2725
if: steps.cache_dspm.outputs.cache-hit != 'true'
@@ -55,9 +53,10 @@ runs:
5553
5654
- name: Cache dspm executable
5755
uses: actions/cache/save@v4
56+
if: steps.cache_dspm.outputs.cache-hit != 'true'
5857
with:
5958
path: ${{inputs.build-dir}}/dist
60-
key: ${{ runner.os }}-dspm-${{ inputs.ref }}-${{ github.sha }}
59+
key: ${{ runner.os }}-dspm-${{ inputs.ref }}
6160

6261
- name: Output dspm path
6362
working-directory: ${{ inputs.build-dir }}

0 commit comments

Comments
 (0)