Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen authored Oct 26, 2023
1 parent 30499e1 commit e98fc72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ jobs:
name: Determine next version
runs-on: ['ubuntu-latest']
needs: build
if: needs.build.outputs.files_changed == 'true' && github.event_name == 'push'
if: |
always() &&
needs.build.outputs.files_changed == 'true' &&
(github.event_name == 'push' || github.event_name == 'workflow_dispatch')
outputs:
version: ${{ steps.asset_version.outputs.version }}
Expand Down

0 comments on commit e98fc72

Please sign in to comment.