Skip to content

Commit

Permalink
ci: run the publish-artifacts job last
Browse files Browse the repository at this point in the history
I prefer not to publish any artifacts/images if the tests
(lint/unit/others) are failing.

Signed-off-by: Theo Chatzimichos <tampakrap@gmail.com>
  • Loading branch information
tampakrap committed Apr 5, 2024
1 parent e13842b commit 5c9be03
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,13 @@ jobs:

publish-artifacts:
runs-on: ubuntu-22.04
needs: detect-noop
needs:
-detect-noop
- report-breaking-changes
- lint
- check-diff
- unit-tests
- local-deploy
if: needs.detect-noop.outputs.noop != 'true'

steps:
Expand Down

0 comments on commit 5c9be03

Please sign in to comment.