File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,18 @@ 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
+
39
45
- name : Upload release artifact
40
46
uses : actions/upload-release-asset@v1
41
47
env :
42
48
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43
49
with :
44
- upload_url : ${{ steps.get_release.outputs.upload_url }}
50
+ upload_url : ${{ env.UPLOAD_URL }}
45
51
asset_path : build/libs/multiverse-core-${{ steps.get_release.outputs.tag_name }}.jar
46
52
asset_name : multiverse-core-${{ steps.get_release.outputs.tag_name }}.jar
47
53
asset_content_type : application/java-archive
You can’t perform that action at this time.
0 commit comments