Skip to content

Commit

Permalink
ci: fix if logic for triggering builds
Browse files Browse the repository at this point in the history
  • Loading branch information
drahamim committed Dec 25, 2022
1 parent bc495d6 commit 7cdb92f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 7cdb92f

Please sign in to comment.