chore(release): v2.6.1 #14
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 Tag | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release-tag: | |
if: github.repository == 'jdf2e/nutui-react' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install pnpm | |
run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
- name: Generate Changlog | |
run: pnpm changelog | |
- name: Create Release Tag | |
id: release_tag | |
uses: ncipollo/release-action@v1 | |
with: | |
bodyFile: '.github/changelog.md' |