diff --git a/.github/workflows/bump_version.yaml b/.github/workflows/bump_version.yaml index 8e017111..aaf17376 100644 --- a/.github/workflows/bump_version.yaml +++ b/.github/workflows/bump_version.yaml @@ -12,14 +12,10 @@ on: types: [closed] jobs: - industrial_ci: - name: Industrial CI - uses: ./.github/workflows/industrial_ci.yaml - get-bump: name: Get version bump runs-on: ubuntu-latest - needs: industrial_ci + outputs: bump: ${{ env.BUMP }} steps: @@ -31,11 +27,16 @@ jobs: run: echo "BUMP=${{ steps.get-version-bump.outputs.bump }}" >> $GITHUB_ENV - if: github.event_name == 'workflow_dispatch' run: echo "BUMP=${{ github.event.inputs.name }}" >> $GITHUB_ENV + + industrial_ci: + name: Industrial CI + needs: get-bump + uses: ./.github/workflows/industrial_ci.yaml catkin-release: name: Bump version runs-on: ubuntu-latest - needs: get-bump + needs: industrial_ci outputs: new_version: ${{ steps.catkin-release.outputs.new_version }} steps: