forked from duolabmeng6/qtAutoUpdateApp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ on: | |
- Release | ||
- Release ann Deploy | ||
|
||
|
||
permissions: write-all # 给所有工作写权限 | ||
|
||
jobs: | ||
|
@@ -29,7 +30,7 @@ jobs: | |
id: tag_name | ||
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ secrets.TOKEN_GITHUB }} | ||
TOKEN_GITHUB: ${{ secrets.TOKEN_GITHUB }} | ||
- name: 查看变量 | ||
run: | | ||
echo ${{ format('version={0}', steps.create_version.outputs.tag_name ) }} | ||
|
@@ -137,7 +138,7 @@ jobs: | |
- name: 发布文件 | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
token: ${{ secrets.TOKEN_GITHUB }} | ||
allowUpdates: true # 覆盖文件 | ||
#draft: true # 草稿 自己可见 版本号会保持一样 默认是自动发布 latest | ||
#prerelease: true # 预发布 别人可以看到 版本号会继续加 | ||
|