File tree 1 file changed +2
-10
lines changed
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -36,18 +36,10 @@ jobs:
36
36
GITHUB_VERSION : ${{ steps.get_release.outputs.tag_name }}
37
37
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
38
38
39
- - name : Fix the upload URL
40
- run : |
41
- UPLOAD_URL=${{ steps.get_release.outputs.upload_url }}
42
- UPLOAD_URL=${UPLOAD_URL//\{?name,label\}}
43
- echo "UPLOAD_URL=${UPLOAD_URL}" >> $GITHUB_ENV
44
-
45
39
- name : Upload release artifact
46
- uses : actions/upload-release-asset@v1
47
- env :
48
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
+ uses : shogo82148/actions-upload-release-asset@v1
49
41
with :
50
- upload_url : ${{ env.UPLOAD_URL }}
42
+ upload_url : ${{ steps.get_release.outputs.upload_url }}
51
43
asset_path : build/libs/multiverse-core-${{ steps.get_release.outputs.tag_name }}.jar
52
44
asset_name : multiverse-core-${{ steps.get_release.outputs.tag_name }}.jar
53
45
asset_content_type : application/java-archive
You can’t perform that action at this time.
0 commit comments