From bf8b5b99bbd30db494030be5dc6910f1f4086a86 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Fri, 27 Sep 2024 16:10:12 +0800 Subject: [PATCH] chore: configure release.yml --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..a1457138 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Release + +permissions: + contents: write + +on: + push: + tags: + - "v*" + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: actions/setup-node@v4 + with: + node-version: 20.17.0 + + - run: npx changelogithub + env: + GITHUB_TOKEN: ${{secrets.V3_ADMIN_VITE}}