Skip to content

Commit ebb5a21

Browse files
committed
Update build-release.yml
1 parent b997c5e commit ebb5a21

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
uses: actions/upload-artifact@v4.3.6
7272
with:
7373
name: lambda-${{ steps.all.outputs.modVersion }}.jar
74-
path: build/libs/
74+
path: common/build/libs/
7575

7676
release:
7777
name: Release Lambda
@@ -89,7 +89,5 @@ jobs:
8989
--repo="$GITHUB_REPOSITORY" \
9090
--title="${GITHUB_REPOSITORY##*/} $tag" \
9191
--notes="${{ github.event.inputs.description }}" \
92-
if ${{ github.event.inputs.prerelease }}; then
93-
--prerelease
94-
fi
92+
$( [ "${{ github.event.inputs.prerelease }}" = "true" ] && echo "--prerelease" )
9593

0 commit comments

Comments
 (0)