Skip to content

Commit

Permalink
Update bump_version.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
delihus authored Jan 15, 2024
1 parent eea210b commit b6b8309
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/bump_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit b6b8309

Please sign in to comment.