chore: release before upload
This commit is contained in:
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user