Skip to content

Commit

Permalink
ci/gpu: do not update ref on PR
Browse files Browse the repository at this point in the history
(cherry picked from commit e7fc2d8)
  • Loading branch information
Borda committed Mar 18, 2024
1 parent 09998b8 commit a100d7c
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 a100d7c

Please sign in to comment.