ci: fix upload asset name

This commit is contained in:
liwei committed 2021-03-29 11:10:33 +08:00
1 parent 30b7189d59
commit 43378c7dc8
1 file changed
+3 -3
+3 -3
View File
@@ -35,7 +35,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./gopeed-windows-x64.zip
asset_name: gopeed-${{ steps.create_release.outputs.name }}-windows-x64.zip
asset_name: gopeed-${{ steps.create_release.outputs.tag_name }}-windows-x64.zip
asset_content_type: application/zip
- name: Upload Cli Linux
uses: actions/[email protected]
@@ -44,7 +44,7 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./gopeed-linux-x64.zip
asset_name: gopeed-${{ steps.create_release.outputs.name }}-linux-x64.zip
asset_name: gopeed-${{ steps.create_release.outputs.tag_name }}-linux-x64.zip
asset_content_type: application/zip
- name: Upload Cli Darwin
uses: actions/[email protected]
@@ -53,5 +53,5 @@ jobs:
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./gopeed-darwin-x64.zip
asset_name: gopeed-${{ steps.create_release.outputs.name }}-darwin-x64.zip
asset_name: gopeed-${{ steps.create_release.outputs.tag_name }}-darwin-x64.zip
asset_content_type: application/zip