You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
36
39
# the publishing section of your build.gradle
37
40
- name: Publish to GitHub Packages
38
41
run: ./gradlew publish
39
42
env:
40
43
USERNAME: ${{ github.actor }}
41
44
TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
+
46
+
- name: Upload Release Asset
47
+
uses: actions/upload-release-asset@v1
48
+
env:
49
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50
+
with:
51
+
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.
52
+
asset_path: ./build/libs/showscript.jar # TODO: Replace with the path to your .jar file
53
+
asset_name: ShowScript.jar # TODO: Replace with the desired asset name
0 commit comments