ci: dont run SNP version upload on v2.12.0 CLI tests (#2568)

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2023-11-09 08:26:42 +01:00 committed by GitHub
parent cea6204b37
commit e9eb75bb83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,6 +90,11 @@ runs:
COSIGN_PASSWORD: ${{ inputs.cosignPassword }}
COSIGN_PRIVATE_KEY: ${{ inputs.cosignPrivateKey }}
run: |
if constellation version | head -n 1 | grep "v2.12.0" > /dev/null
then
exit 0
fi
for file in $(ls snp-report-*.json); do
path=$(realpath "${file}")
cat "${path}"