Skip to content

Commit 2c593ba

Browse files
add else condition
1 parent 038aa1b commit 2c593ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/virustotal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
uploadZipFile="./${{ matrix.artifact }}.zip"
8181
8282
# Compress artifactes
83-
zip -r "${uploadZipFile}" "./release" -x "*/redisstack/*" ${{ startsWith(matrix.artifact, 'macos-') && '"*.tar.gz" "*.zip"' }}
83+
zip -r "${uploadZipFile}" "./release" ${{ startsWith(matrix.artifact, 'macos-') && '-x "*/redisstack/*" "*.tar.gz" "*.zip"' || '' }}
8484
8585
# Generate url to download zip file
8686
uploadUrl=$(curl -sq -XGET https://www.virustotal.com/api/v3/files/upload_url -H "x-apikey: $VIRUSTOTAL_API_KEY" | jq -r '.data')

0 commit comments

Comments
 (0)