From e191fc4b42d2a38709654d86c6638502b7c663db Mon Sep 17 00:00:00 2001 From: Anderson Chauphan Date: Tue, 25 Feb 2025 14:53:30 -0700 Subject: [PATCH] Add conditional to upload step to run always Add conditional to upload artifact step to always execute when the entire workflow has returned a status of success or failure. This will not run if the job was cancelled. Signed-off-by: Anderson Chauphan --- .github/workflows/AT2.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/AT2.yml b/.github/workflows/AT2.yml index cf8e136a6103..d8164bb42a3d 100644 --- a/.github/workflows/AT2.yml +++ b/.github/workflows/AT2.yml @@ -111,6 +111,7 @@ jobs: --max-cores-allowed=29 \ --num-concurrent-tests=16 - name: Upload artifacts + if: success() || failure() uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 env: NODE_TLS_REJECT_UNAUTHORIZED: 0 @@ -212,6 +213,7 @@ jobs: --max-cores-allowed=29 \ --num-concurrent-tests=16 - name: Upload artifacts + if: success() || failure() uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 env: NODE_TLS_REJECT_UNAUTHORIZED: 0 @@ -313,6 +315,7 @@ jobs: --num-concurrent-tests=112 \ --slots-per-gpu=8 - name: Upload artifacts + if: success() || failure() uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 env: NODE_TLS_REJECT_UNAUTHORIZED: 0 @@ -411,6 +414,7 @@ jobs: --filename-subprojects ./package_subproject_list.cmake \ --skip-create-packageenables \ - name: Upload artifacts + if: success() || failure() uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 env: NODE_TLS_REJECT_UNAUTHORIZED: 0