From 1bd0a6721e16b5130311a81ad32b97d673154e69 Mon Sep 17 00:00:00 2001 From: YunYouJun Date: Sun, 30 Jul 2023 21:23:14 +0800 Subject: [PATCH] chore: release before upload --- .github/workflows/release.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59966b3..1993a67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,6 @@ jobs: run: pnpm install - run: npm run generate --if-present - - uses: actions/upload-artifact@v3 - with: - name: Cook Dist - path: .output/public/ - name: Release uses: softprops/action-gh-release@v1 @@ -39,6 +35,11 @@ jobs: with: files: .output/public/ + - uses: actions/upload-artifact@v3 + with: + name: Cook Dist + path: .output/public/ + - run: npx changelogithub # or changelogithub@0.12 if ensure the stable result env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}