From 7cdb92ff6fef2fb7160e4608281a6cf7772f4197 Mon Sep 17 00:00:00 2001 From: Daniel Rahamim Date: Sat, 24 Dec 2022 16:00:12 -0800 Subject: [PATCH] ci: fix if logic for triggering builds --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9997cf..525e198 100755 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,8 @@ jobs: Release: name: Create Release runs-on: ubuntu-latest + outputs: + output1: ${{ steps.semver.outputs.next }} steps: - name: Checkout code uses: actions/checkout@v3 @@ -28,6 +30,7 @@ jobs: noVersionBumpBehavior: silent - name: Echo Tag run: echo ${{ steps.semver.outputs.next }} + run: echo - name: Create Release if: ${{ steps.semver.outputs.next }} id: create_release @@ -39,5 +42,5 @@ jobs: trigger_build: needs: Release - if: ${{ Release.steps.create_release.conclusion != "skipped" }} + if: ${{ needs.Release.outputs.output1 != 0 }} uses: ./.github/workflows/build_packages.yml \ No newline at end of file