Skip to content

Commit

Permalink
Use GH CLI to release on CI (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Jun 27, 2024
1 parent af2a411 commit f07a601
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,11 @@ jobs:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }}

- name: Extract release notes
id: release_notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2

- name: Create release
uses: softprops/action-gh-release@v2
with:
body: ${{ steps.release_notes.outputs.release_notes }}
run: gh release create --notes '${{ steps.extract-release-notes.outputs.release_notes }}' --title ${{ github.ref_name }} ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit f07a601

Please sign in to comment.