Skip to content

Commit 426382b

Browse files
committed
Coverity CI: set -u
If the curl for filename fails, do not succeed with restoring the cache with partial match. This will return false which may be unexpected (typically this is correlated when the Coverity servers are down).
1 parent 30f61c5 commit 426382b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/coverity-scan.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- name: Get Coverity tool name # the file name contains version and is used as the cache key
2626
id: tool
2727
run: |
28+
set -u
2829
FILENAME=$(curl -LIf "https://scan.coverity.com/download/linux64\
2930
?token=$coverity_token&project=UltraGrid" |
3031
sed -n '/content-disposition/s/.*\"\(.*\)\"/\1/p')

0 commit comments

Comments
 (0)