Skip to content

Commit

Permalink
ci: run the publish-artifacts job last
Browse files Browse the repository at this point in the history
The other jobs are running (lint, unit, functional etc) tests, thus
letting them pass first before publishing any artifacts/images, in order
not to upload broken packages.

Signed-off-by: Theo Chatzimichos <[email protected]>
  • Loading branch information
tampakrap committed Apr 5, 2024
1 parent 9c6ba93 commit 98303ec
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 98303ec

Please sign in to comment.