Skip to content

Commit

Permalink
chore: 修改release的token值
Browse files Browse the repository at this point in the history
  • Loading branch information
callqh authored Apr 4, 2021
1 parent fb97429 commit 8a8547a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
id: changelog
uses: liuqh0609/changelog-generator@main
with:
myToken: ${{ secrets.NPM_TOKEN }} # 这里用的是npm-publish脚本中的token
myToken: ${{ secrets.WFP_GITHUB_TOKEN_FOR_RELEASE }} # 这里用的是npm-publish脚本中的token
# 发布 Release
- name: Create Release # 创建Release,可以在仓库看到一个个版本
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.NPM_TOKEN }} # 这里用的是npm-publish脚本中的token
GITHUB_TOKEN: ${{ secrets.WFP_GITHUB_TOKEN_FOR_RELEASE }} # 这里用的是npm-publish脚本中的token
with:
tag_name: ${{ github.ref }} # (tag)标签名称
release_name: ${{ github.ref }}
body: ${{ steps.changelog.outputs.changelog }} # 将changelog显示在body中
draft: false # 是否是草稿
prerelease: false
prerelease: false

0 comments on commit 8a8547a

Please sign in to comment.