更新编译

This commit is contained in:
fumiama
2021-08-07 01:40:06 +08:00
parent 81ccf8e4f5
commit 28b9d0b18f
2 changed files with 84 additions and 7 deletions

View File

@@ -54,11 +54,52 @@ jobs:
draft: false
prerelease: false
- name: Upload Release Asset
- name: Upload Release Asset Linux x64
id: upload-release-asset
uses: actions/upload-release-asset@v1
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: ./artifacts
asset_name: zerobot-plugin
asset_content_type: application/octet-stream
asset_path: ./artifacts/zerobot-plugin-linux-x64
asset_name: zerobot-plugin-linux-x64
asset_content_type: application/octet-stream
- name: Upload Release Asset Linux x86
id: upload-release-asset
uses: actions/upload-release-asset@v1
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: ./artifacts/zerobot-plugin-linux-x86
asset_name: zerobot-plugin-linux-x86
asset_content_type: application/octet-stream
- name: Upload Release Asset Windows x64
id: upload-release-asset
uses: actions/upload-release-asset@v1
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: ./artifacts/zerobot-plugin-windows-x64.exe
asset_name: zerobot-plugin-windows-x64.exe
asset_content_type: application/octet-stream
- name: Upload Release Asset Windows x86
id: upload-release-asset
uses: actions/upload-release-asset@v1
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: ./artifacts/zerobot-plugin-windows-x86.exe
asset_name: zerobot-plugin-windows-x86.exe
asset_content_type: application/octet-stream
- name: Upload Release Asset ARM64
id: upload-release-asset
uses: actions/upload-release-asset@v1
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: ./artifacts/zerobot-plugin-linux-arm64
asset_name: zerobot-plugin-linux-arm64
asset_content_type: application/octet-stream
- name: Upload Release Asset ARMv6
id: upload-release-asset
uses: actions/upload-release-asset@v1
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: ./artifacts/zerobot-plugin-linux-armv6
asset_name: zerobot-plugin-linux-armv6
asset_content_type: application/octet-stream