chore: release before upload

This commit is contained in:
YunYouJun
2023-07-30 21:23:14 +08:00
parent 974d523f9d
commit 1bd0a6721e

View File

@@ -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}}