From 5c9af9d939dd533a9c5e6dab72eed024e511dd78 Mon Sep 17 00:00:00 2001 From: Ryan Hecht Date: Tue, 14 May 2024 17:41:13 -0400 Subject: [PATCH] Update gradle-publish.yml --- .github/workflows/gradle-publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index f9a96aa..1cb72ca 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -49,11 +49,8 @@ jobs: TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Release Asset - uses: actions/upload-release-asset@v1 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - 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. - asset_path: ./build/libs/showscript.jar # TODO: Replace with the path to your .jar file - asset_name: ShowScript.jar # TODO: Replace with the desired asset name - asset_content_type: application/java-archive + files: build/libs/showscript.jar