Merge pull request #2853 from Multiverse/fix-gha-release

Fix upload release artifact
This commit is contained in:
Jeremy Wood 2023-02-20 06:42:31 -05:00 committed by GitHub
commit 758d25812b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,9 +37,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload release artifact
uses: shogo82148/actions-upload-release-asset@v1
uses: svenstaro/upload-release-action@v2
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: build/libs/multiverse-core-${{ steps.get_release.outputs.tag_name }}.jar
repo_token: ${{ secrets.RELEASE_TOKEN }}
file: build/libs/multiverse-core-${{ steps.get_release.outputs.tag_name }}.jar
asset_name: multiverse-core-${{ steps.get_release.outputs.tag_name }}.jar
asset_content_type: application/java-archive
tag: ${{ steps.get_release.outputs.tag_name }}