From: Richard Levitte Date: Tue, 1 Oct 2024 07:52:59 +0000 (+0200) Subject: Update fips-label.yml to make 'Cleanup artifact' conditional X-Git-Tag: openssl-3.5.0-alpha1~1062 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27af422b1c2be9fe588a80e6159d5a4758bd6c44;p=thirdparty%2Fopenssl.git Update fips-label.yml to make 'Cleanup artifact' conditional If it's not conditional in the same manner as the other steps, it fails because the artifacts aren't present => job failure. Reviewed-by: Tom Cosgrove Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25584) --- diff --git a/.github/workflows/fips-label.yml b/.github/workflows/fips-label.yml index 853dfb20d8a..50dc087bb01 100644 --- a/.github/workflows/fips-label.yml +++ b/.github/workflows/fips-label.yml @@ -80,6 +80,7 @@ jobs: } } - name: 'Cleanup artifact' + if: ${{ github.event.workflow_run.conclusion == 'success' }} run: rm artifact.zip pr_num - name: 'Download abidiff artifact'