From e9eb75bb8371099a9c7f8bb3f8bc6a59f9f7a9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Wei=C3=9Fe?= <66256922+daniel-weisse@users.noreply.github.com> Date: Thu, 9 Nov 2023 08:26:42 +0100 Subject: [PATCH] ci: dont run SNP version upload on v2.12.0 CLI tests (#2568) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel Weiße --- .github/actions/e2e_verify/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/e2e_verify/action.yml b/.github/actions/e2e_verify/action.yml index 371d2932f..4085174d4 100644 --- a/.github/actions/e2e_verify/action.yml +++ b/.github/actions/e2e_verify/action.yml @@ -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}"