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