From c24969ab6d6dcbf60564fedeeaf035792c57e53a Mon Sep 17 00:00:00 2001 From: Alexander Samusev <41779041+alvicsam@users.noreply.github.com> Date: Thu, 16 Feb 2023 13:10:40 +0100 Subject: [PATCH] [ci] Add dependencies for publish-crates (#13397) * [ci] Add dependencies for publishsing crates * apply review comments * fix needs --- scripts/ci/gitlab/pipeline/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/ci/gitlab/pipeline/publish.yml b/scripts/ci/gitlab/pipeline/publish.yml index 3052658cde4e3..5b06711161023 100644 --- a/scripts/ci/gitlab/pipeline/publish.yml +++ b/scripts/ci/gitlab/pipeline/publish.yml @@ -233,13 +233,17 @@ publish-draft-release: publish-crates: extends: .publish-crates-template + # publish-crates should only be run if publish-crates-locally passes + needs: + - job: check-crate-publishing + artifacts: false publish-crates-manual: extends: .publish-crates-template when: manual interruptible: false -publish-crates-locally: +check-crate-publishing: stage: publish extends: - .test-refs