From 1d4e27ba44651b4006abf4b4d882c14bd4862f07 Mon Sep 17 00:00:00 2001 From: Jan Mottl Date: Wed, 11 Dec 2024 13:32:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20auto=20GitHub=20release=20?= =?UTF-8?q?to=20deploy=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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