diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 99559a3..9d1795b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -47,6 +47,9 @@ jobs: publish: needs: preflight_check runs-on: ubuntu-latest + permissions: + # Needed by softprops/action-gh-release to be able to create a release + contents: write steps: - name: Check out code uses: actions/checkout@v4 @@ -60,3 +63,8 @@ jobs: -PsigningInMemoryKeyPassword=$GPG_PASSWORD \ -PmavenCentralUsername=$MAVEN_USERNAME \ -PmavenCentralPassword=$MAVEN_PASSWORD + + - name: Create GitHub release + uses: softprops/action-gh-release@v2 + with: + generate_release_notes: true