-
Notifications
You must be signed in to change notification settings - Fork 0
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
14 additions
and
14 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 |
---|---|---|
|
@@ -40,22 +40,22 @@ jobs: | |
# 下面主要是创建 github 的release | ||
# 需要手动修改 package.json 版本 | ||
# 使用 tyankatsu0105/read-package-version-actions@v1 工具来读取对应的package.json 数据 | ||
# - name: Read package.json | ||
# uses: tyankatsu0105/read-package-version-actions@v1 | ||
# id: package-version | ||
- name: Read package.json | ||
uses: tyankatsu0105/read-package-version-actions@v1 | ||
id: package-version | ||
|
||
# 关于创建 release 的更多参数,可以查看 actions/create-release@v1 | ||
# - name: Create Release for Tag | ||
# id: release_tag | ||
# uses: actions/create-release@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GIT_ACTION }} # 这块需要用到 github的token,因为需要对分之进行代码推送 | ||
# with: | ||
# tag_name: v${{ steps.package-version.outputs.version }} | ||
# release_name: Release v${{ steps.package-version.outputs.version }} | ||
# prerelease: false # 是否为预发布版本 | ||
# body: | | ||
# 请点击查看 [更新日志](https://github.com/hellof2e/quark-doc-header/blob/main/CHANGELOG.md). | ||
- name: Create Release for Tag | ||
id: release_tag | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GIT_ACTION }} # 这块需要用到 github的token,因为需要对分之进行代码推送 | ||
with: | ||
tag_name: v${{ steps.package-version.outputs.version }} | ||
release_name: Release v${{ steps.package-version.outputs.version }} | ||
prerelease: false # 是否为预发布版本 | ||
body: | | ||
请点击查看 [更新日志](https://github.com/hellof2e/quark-doc-header/blob/main/CHANGELOG.md). | ||
# - uses: BobAnkh/[email protected] | ||
|