Skip to content

Commit 5c9af9d

Browse files
authored
Update gradle-publish.yml
1 parent 1625157 commit 5c9af9d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/gradle-publish.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,8 @@ jobs:
4949
TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050

5151
- name: Upload Release Asset
52-
uses: actions/upload-release-asset@v1
52+
uses: softprops/action-gh-release@v2
5353
env:
5454
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5555
with:
56-
upload_url: ${{ github.event.release.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to tag this upload as a Release Asset.
57-
asset_path: ./build/libs/showscript.jar # TODO: Replace with the path to your .jar file
58-
asset_name: ShowScript.jar # TODO: Replace with the desired asset name
59-
asset_content_type: application/java-archive
56+
files: build/libs/showscript.jar

0 commit comments

Comments
 (0)