Skip to content

Commit

Permalink
refactor: update GitHub Actions workflow to use latest release change…
Browse files Browse the repository at this point in the history
…log builder
  • Loading branch information
gusintheeshell committed Oct 14, 2024
1 parent dafbf47 commit 7482786
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,13 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- id: changelog
name: Generate changelog
uses: mikepenz/release-changelog-builder-action@v2
with:
configuration: .github/release-changelog-config.json
env:
NPM_CONFIG_USERCONFIG: /home/runner/work/_temp/.npmrc
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create GitHub Release
uses: actions/create-release@v1
- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Release
uses: mikepenz/[email protected] #softprops/action-gh-release
with:
tag_name: ${{ github.sha }}
release_name: Release ${{ github.sha }}
body: ${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
body: ${{steps.github_release.outputs.changelog}}

0 comments on commit 7482786

Please sign in to comment.