From 03e7c2f2a54d2e19e259ad9cad47ff59e40ae85f Mon Sep 17 00:00:00 2001 From: rkrisztian <2960445+rkrisztian@users.noreply.github.com> Date: Wed, 10 May 2023 09:17:11 +0200 Subject: [PATCH] Set the name only if not defined Should allow release builds from the GitHub website as well (manually creating the release). --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2435d4..f0f747f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |