Skip to content

Commit

Permalink
Add conditional to upload step to run always
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
achauphan committed Feb 25, 2025
1 parent 4a3f0fa commit e191fc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/AT2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e191fc4

Please sign in to comment.