Skip to content

Commit

Permalink
cache fix
Browse files Browse the repository at this point in the history
Signed-off-by: chahatsagarmain <chahatsagar2003@gmail.com>
  • Loading branch information
chahatsagarmain committed Jan 5, 2025
1 parent 908eb87 commit 4955217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/verify-metrics-snapshot/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:

- name: Cache scraped metrics for tagged release for longer retention
if: contains(github.ref,'tags')
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ./.metrics/${{ inputs.snapshot }}
key: ${{ github.ref_name }}_${{ inputs.artifact_key }}
Expand All @@ -40,7 +40,7 @@ runs:
- name: Download the cached tagged metrics
id: cache-metrics
if: contains(github.ref,'tags') == 'false'
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
uses: actions/cache/restore@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ./.metrics/cached_${{ inputs.snapshot}}
key: ${{ env.v2_tag }}_${{ inputs.artifact_key }}
Expand Down

0 comments on commit 4955217

Please sign in to comment.