Skip to content

Commit

Permalink
.github: fixed success-only archive job bug
Browse files Browse the repository at this point in the history
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 <jean.shuralyov@proton.me>
Co-authored-by: Galyna, Cory <cory.galyna@gmail.com>
Co-authored-by: (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
Signed-off-by: (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
  • Loading branch information
3 people committed Apr 1, 2024
1 parent b466c2a commit bd97893
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/git-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd97893

Please sign in to comment.