From a2755038f3aa88187a36b585cb7b1efe4b2d3c10 Mon Sep 17 00:00:00 2001 From: jsxiaosi <1531733886@qq.com> Date: Wed, 11 Dec 2024 22:12:33 +0800 Subject: [PATCH] =?UTF-8?q?ci(.github):=20=F0=9F=9B=A0=20-=20=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E5=8F=91=E5=B8=83Tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..bbd84f52 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +# .github/workflows/release.yml + +name: Release + +permissions: + contents: write + +on: + push: + tags: + - 'v*' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set node + uses: actions/setup-node@v4 + with: + registry-url: https://registry.npmjs.org/ + node-version: lts/* + + - run: npx changelogithub # or changelogithub@0.12 if ensure the stable result + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file