Skip to content

Commit 98c6da1

Browse files
authored
Update release.yml
1 parent 5536532 commit 98c6da1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
with:
2020
java-version: 21
2121
distribution: 'adopt'
22-
- name: Build and Publish to Modrinth
22+
- name: Build
2323
run: |
2424
./gradlew build
25-
- name: Create a Release
26-
uses: elgohr/Github-Release-Action@c5ea99036abb741a89f8bf1f2cd7fba845e3313a # v5
27-
env:
28-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
- name: Release
26+
uses: softprops/action-gh-release@v2
2927
with:
30-
title: Build ${{ github.run_number }}
31-
tag: ${{ github.run_number }}
32-
workdir: ./build/libs/
28+
# Configuring release name and tag.
29+
name: Build \#${{ github.run_number }}
30+
tag_name: ${{ github.run_number }}
31+
# Configuring files that are attached to the release.
32+
files: "build/libs/LuaStubGen-1.0-SNAPSHOT.jar"
3333

0 commit comments

Comments
 (0)