Skip to content

Commit

Permalink
ci: better release
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Feb 4, 2024
1 parent e641318 commit 0ef9fa4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ jobs:
name: LipUI-${{ matrix.runtime }}-${{ github.sha }}
path: bin

update-changelog:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2

- uses: softprops/action-gh-release@v1
with:
body: |
${{ steps.extract-release-notes.outputs.release_notes }}
upload-to-release:
needs:
- build
Expand Down Expand Up @@ -57,12 +72,7 @@ jobs:
zip -r ../LipUI-${{ matrix.runtime }}.zip *
cd ..
- id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2

- uses: softprops/action-gh-release@v1
with:
body: |
${{ steps.extract-release-notes.outputs.release_notes }}
files: |
LipUI-${{ matrix.runtime }}.zip

0 comments on commit 0ef9fa4

Please sign in to comment.