Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mysteryven committed Aug 14, 2024
1 parent d98f96f commit 1179f38
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 14 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Changelog

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: 20.x

- run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
14 changes: 0 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,17 +173,3 @@ jobs:
npm publish $package/ --tag latest --provenance --access public
echo '----'
done
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
body: ${{ steps.run.outputs.CHANGELOG }}
draft: true
files: depclean-*
name: depclean v${{ steps.run.outputs.VERSION }}
tag_name: depclean_v${{ steps.run.outputs.VERSION }}
fail_on_unmatched_files: true
target_commitish: ${{ github.sha }}

- name: wait 1 minute for smoke test
run: sleep 60s

0 comments on commit 1179f38

Please sign in to comment.