Skip to content

Commit

Permalink
Set the name only if not defined
Browse files Browse the repository at this point in the history
Should allow release builds from the GitHub website as well (manually creating the release).
  • Loading branch information
rkrisztian committed May 10, 2023
1 parent f37379d commit 03e7c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.build_jars.outputs.version }}
name: ${{ (github.event_name != 'release') && steps.build_jars.outputs.version || '' }}
draft: false
prerelease: false
files: |
Expand Down

0 comments on commit 03e7c2f

Please sign in to comment.