Skip to content

Commit c62b68b

Browse files
committed
Upload jar to release
1 parent c69ccb5 commit c62b68b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,12 @@ jobs:
8585
spigot
8686
bukkit
8787
changelog: |
88-
See [GitHub Release](${{ github.event.release.html_url }}) for changelog.
88+
See [GitHub Release](${{ github.event.release.html_url }}) for changelog.
89+
90+
- name: Upload Jar to GitHub Release
91+
uses: actions/upload-release-asset@v1
92+
with:
93+
upload_url: ${{ github.event.release.upload_url }}
94+
asset_path: ${{ steps.artifact.outputs.jar_path }}
95+
asset_name: MinecraftServerAPI-${{ steps.artifact.outputs.version }}.jar
96+
asset_content_type: application/java-archive

0 commit comments

Comments
 (0)