Skip to content

Commit

Permalink
Update action.yaml again
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 6f36f8f commit c865da4
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 @@ -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: ${{ (contains(github.ref, 'main') == 'true') && (steps.check-cache.outputs.cache-hit != 'true') }}
uses: actions/cache/save@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: ./.metrics/${{ inputs.snapshot }}
Expand All @@ -64,7 +64,7 @@ runs:
fi
- name: Upload the diff artifact
if: steps.cache-metrics.outputs.cache-hit == 'true' && steps.diff-check.outcome == 'failure'
if: ${{ (steps.cache-metrics.outputs.cache-hit == 'true') && (steps.diff-check.outcome == 'failure') }}
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: diff_${{ inputs.artifact_key }}
Expand Down

0 comments on commit c865da4

Please sign in to comment.