Skip to content

Commit

Permalink
Merge pull request #19 from AckeeCZ/chore/auto-github-release
Browse files Browse the repository at this point in the history
👷 Add auto GitHub release to deploy workflow
  • Loading branch information
mottljan authored Dec 11, 2024
2 parents 61f1fa8 + 1d4e27b commit 2cfc525
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 2cfc525

Please sign in to comment.