Skip to content

Commit

Permalink
Tweak build step to allow for manual releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcat committed Jul 23, 2024
1 parent 5ade375 commit 000077c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
release:
name: Auto release
needs: build
if: ${{ needs.build.result == 'success' && github.event_name != 'release'}}
runs-on: ubuntu-latest
outputs:
release_id: ${{ steps.release.outputs.id }}
Expand Down Expand Up @@ -65,7 +66,7 @@ jobs:
name: Upload release
runs-on: ubuntu-latest
needs: [build, release]
if: ${{ needs.build.result == 'success' && (github.event_name == 'release' || needs.release.outputs.release_id)}}
if: ${{ always() && needs.build.result == 'success' && (github.event_name == 'release' || needs.release.outputs.release_id) }}
steps:
- name: Set Tag
id: tag
Expand Down

0 comments on commit 000077c

Please sign in to comment.