From 35209fa443914d66b10edd6a6c1a866fed404c97 Mon Sep 17 00:00:00 2001 From: Noah Hsu Date: Thu, 21 Jul 2022 22:11:56 +0800 Subject: [PATCH] ci: auto generate changelog --- .github/workflows/release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93dc257..9c871e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,13 @@ jobs: persist-credentials: false fetch-depth: 0 + - run: | + cd alist-web + npx changelogithub # or changelogithub@0.12 if ensure the stable result + cd .. + env: + GITHUB_TOKEN: ${{secrets.MY_TOKEN}} + - name: Checkout web repo uses: actions/checkout@v2 with: @@ -57,8 +64,8 @@ jobs: branch: main directory: assets repository: alist-org/assets - + - name: Release uses: softprops/action-gh-release@v1 with: - files: release/* \ No newline at end of file + files: release/*