From bd9789367af60a78ea29c5db1067bb2014658670 Mon Sep 17 00:00:00 2001 From: "(Holloway) Chew, Kean Ho" Date: Mon, 1 Apr 2024 12:35:45 +0800 Subject: [PATCH] .github: fixed success-only archive job bug The Archive CI job in GitHub Actions only triggered when the run is successful. However, if the run is failing, it cannot archive due to the missing 'if: always()' conditions. Hence, let's fix it. This patch fixes success-only archive job bug in .github directory. Co-authored-by: Shuralyov, Jean Co-authored-by: Galyna, Cory Co-authored-by: (Holloway) Chew, Kean Ho Signed-off-by: (Holloway) Chew, Kean Ho --- .github/workflows/git-push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/git-push.yml b/.github/workflows/git-push.yml index 65ffa440..0a86c720 100644 --- a/.github/workflows/git-push.yml +++ b/.github/workflows/git-push.yml @@ -99,6 +99,7 @@ jobs: ./automataCI/ci.sh.ps1 deploy - name: AutomataCI - ARCHIVE id: automataci_ci_archive + if: always() run: | ./automataCI/ci.sh.ps1 archive - name: GITHUB ACTIONS - Upload Artifact