From 40d4429c82d422017cec67583e7cb5b6bdd1533d Mon Sep 17 00:00:00 2001 From: ScoutYin Date: Sat, 30 Apr 2022 19:07:51 +0800 Subject: [PATCH] chore: add 'create release' github action --- .github/workflows/create-relaease.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/create-relaease.yml diff --git a/.github/workflows/create-relaease.yml b/.github/workflows/create-relaease.yml new file mode 100644 index 0000000..e0a1dfa --- /dev/null +++ b/.github/workflows/create-relaease.yml @@ -0,0 +1,23 @@ +on: + push: + tags: + - 'v*' # Push events to matching tags starts with 'v', i.e. v1.0, v20.15.10 + +name: Create Release + +jobs: + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Create Release for Tag + id: release_tag + uses: yyx990803/release-tag@master # https://github.com/yyx990803/release-tag + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + body: | + 更新内容请参见 [CHANGELOG](https://github.com/ScoutYin/ly-tab/blob/master/CHANGELOG_CN.md)。