From 5a198982a93003ed222270bd294b7d2d8d69871d Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Fri, 17 Jun 2022 17:21:13 +0800 Subject: [PATCH] chore: use `changelogithub` --- .github/workflows/release.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f2142e0..216ba3b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,13 +3,20 @@ name: Release on: push: tags: - - '*' + - 'v*' jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - run: npx conventional-github-releaser -p angular + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - uses: actions/setup-node@v3 + with: + node-version: 16.x + + - run: npx changelogithub env: - CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}