From 093bd12273e5a7fb87d9c6f9640d7bb4bddd2583 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 1 Oct 2024 09:52:59 +0200 Subject: [PATCH] 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) (cherry picked from commit 27af422b1c2be9fe588a80e6159d5a4758bd6c44) --- .github/workflows/fips-label.yml | 1 + 1 file changed, 1 insertion(+) 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' -- 2.47.2