From b811eb35a3d3a72b59ad852d40f1a2819986a303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Cie=C5=9Bla?= <31999821+BartoszCiesla@users.noreply.github.com> Date: Sun, 18 Aug 2024 19:50:24 +0200 Subject: [PATCH] Add dependency between sdk and cli workflows in CI (#1162) --- .github/workflows/publish_cli.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish_cli.yml b/.github/workflows/publish_cli.yml index 00c591edd..146d65d67 100644 --- a/.github/workflows/publish_cli.yml +++ b/.github/workflows/publish_cli.yml @@ -1,9 +1,10 @@ name: publish_cli on: workflow_dispatch: - push: - branches: - - master + workflow_run: + workflows: [ "publish_sdk" ] + types: + - completed env: GITHUB_TOKEN: ${{ github.token }} @@ -70,8 +71,8 @@ jobs: - uses: actions-rs/toolchain@v1 with: - toolchain: stable - override: true + toolchain: stable + override: true - name: publish run: |