From 98303ec9567e476ba897ae353ab626fd8901c6bd Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Fri, 5 Apr 2024 17:10:43 +0200 Subject: [PATCH] ci: run the publish-artifacts job last 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 --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 339c610..928c69c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: