]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update fips-label.yml to make 'Cleanup artifact' conditional
authorRichard Levitte <levitte@openssl.org>
Tue, 1 Oct 2024 07:52:59 +0000 (09:52 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 3 Oct 2024 11:06:38 +0000 (13:06 +0200)
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 <tom.cosgrove@arm.com>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25584)

.github/workflows/fips-label.yml

index 853dfb20d8a9a017e7430478adfab0b263c3bbac..50dc087bb012a2fc986ddea1e27b772227cf2a8d 100644 (file)
@@ -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'