Skip to content

Commit 71aaa3a

Browse files
committed
Update upload to release step
1 parent e68f572 commit 71aaa3a

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ jobs:
5050
changelog: |
5151
See [GitHub Release](${{ github.event.release.html_url }}) for changelog.
5252
53-
- name: Upload Jar to GitHub Release
54-
uses: actions/upload-release-asset@v1
53+
- name: Upload to release
54+
uses: softprops/action-gh-release@v1
5555
with:
56-
upload_url: ${{ github.event.release.upload_url }}
57-
asset_path: ${{ steps.artifact.outputs.jar_path }}
58-
asset_name: MinecraftServerAPI-${{ steps.artifact.outputs.version }}.jar
59-
asset_content_type: application/java-archive
56+
files: target/MinecraftServerAPI-*.jar
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)