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 c865da4 commit cdca84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/verify-metrics-snapshot/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:

- name: Cache scraped metrics for tagged release for longer retention
id: tagged-metrics
if: ${{ (contains(github.ref, 'main') == 'true') && (steps.check-cache.outputs.cache-hit != 'true') }}
if: ${{ (github.ref_name == 'main') && (steps.check-cache.outputs.cache-hit != 'true') }}
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ./.metrics/${{ inputs.snapshot }}
Expand Down

0 comments on commit cdca84a

Please sign in to comment.