Skip to content

Commit

Permalink
ci/gpu: do not update ref on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 14, 2024
1 parent 07524f2 commit ef0cc27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .azure/gpu-unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ jobs:
# copy potentially updated cache to the machine filesystem to be reused with next jobs
cp -r --update tests/_cache-references /var/tmp/cached-references
# set as extra step to not pollute general cache when jobs fails or crashes
# so do this update only with successful jobs on master
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest'))
displayName: "Update cached refs"
- bash: |
Expand Down

0 comments on commit ef0cc27

Please sign in to comment.