创建条目的时候添加个标签 #8
Workflow file for this run
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
name: Create Release | |
permissions: | |
contents: write | |
on: | |
push: | |
tags: | |
- v[0-9]+.* | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: taiki-e/create-gh-release-action@v1 | |
with: | |
# (Optional) | |
changelog: CHANGELOG.MD | |
# (Optional) Create a draft release. | |
# [default value: false] | |
draft: false | |
# (Optional) Format of title. | |
# [default value: $tag] | |
# [possible values: variables $tag, $version, and any string] | |
title: v$version | |
# (Required) GitHub token for creating GitHub Releases. | |
token: ${{ secrets.LI_GUOHAO_TOKEN }} |