From 7c0a4fb49309ef351d1cf2e53a50087055e53acf Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Tue, 19 Jan 2021 23:48:27 +0800 Subject: [PATCH] Update make-release.yml --- .github/workflows/make-release.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index 57de9c3..426025f 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -4,14 +4,13 @@ on: create jobs: - make-release: + release-helper: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - name: install - run: yarn - - - name: node js - run: node ./script/make-release.js - env: - GH_TOKEN: ${{ secrets.GH }} + - name: make release + uses: actions-cool/release-helper@main + with: + token: ${{ secrets.GITHUB_TOKEN }} + triger: 'tag' + changelogs: 'CHANGELOG.en-US.md, CHANGELOG.zh-CN.md' + branches: 'main'