From 4dc3fe5a433db67552cbc6bedc3fa6e9283c863a Mon Sep 17 00:00:00 2001 From: hunghg255 Date: Sat, 17 Feb 2024 13:32:47 +0700 Subject: [PATCH] ci: update release --- .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 0000000..76c8438 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: Release + +permissions: + contents: write + +on: + push: + tags: + - 'v*' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - uses: actions/setup-node@v3 + with: + node-version: 18.x + + - run: npx changeloggithub@latest + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + + - name: Publish + run: | + echo "Publishing"