Update test_relase.yml
This commit is contained in:
4
.github/workflows/test_relase.yml
vendored
4
.github/workflows/test_relase.yml
vendored
@@ -110,7 +110,7 @@ jobs:
|
|||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||||
@@ -120,7 +120,7 @@ jobs:
|
|||||||
id: upload-release-asset
|
id: upload-release-asset
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||||
with:
|
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
|
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: ./artifact.zip
|
asset_path: ./artifact.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user