Skip to content

Commit

Permalink
Update action.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: chahat sagar <109112505+chahatsagarmain@users.noreply.github.com>
  • Loading branch information
chahatsagarmain authored Jan 5, 2025
1 parent cdca84a commit 8225ce2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/verify-metrics-snapshot/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ runs:
key: ${{ env.v2_tag }}_${{ inputs.artifact_key }}
lookup-only: true

- name: Cache scraped metrics for tagged release for longer retention
if: ${{ (github.ref_name == 'main') && (steps.check-cache.outputs.cache-hit != 'true') }}
shell: bash
run: |
cp ./.metrics/${{ inputs.snapshot }} ./.metrics/cached_${{ inputs.snapshot}}
- name: Cache scraped metrics for tagged release for longer retention
id: tagged-metrics
if: ${{ (github.ref_name == 'main') && (steps.check-cache.outputs.cache-hit != 'true') }}
Expand Down

0 comments on commit 8225ce2

Please sign in to comment.