Skip to content

Commit

Permalink
ci: do if in other steps
Browse files Browse the repository at this point in the history
  • Loading branch information
PurpleBooth committed Aug 3, 2024
1 parent 3252feb commit ccfdea8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
- lint-markdown
- rust-checks
outputs:
version_bump: ${{ steps.current_version.outputs.current_version != steps.previous_version.outputs.previous_version }}
current_version: ${{ steps.current_version.outputs.current_version }}
previous_version: ${{ steps.previous_version.outputs.previous_version }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -58,7 +57,7 @@ jobs:
shell: bash

release-binary:
if: needs.release.outputs.version_bump
if: needs.release.outputs.current_version != needs.release.outputs.previous_version
needs:
- release
uses: PurpleBooth/common-pipelines/.github/workflows/release-rust-binary.yml@main
Expand Down

0 comments on commit ccfdea8

Please sign in to comment.