Skip to content

Commit

Permalink
Bump java
Browse files Browse the repository at this point in the history
  • Loading branch information
zapodot committed Jul 11, 2024
1 parent 5d0caf6 commit 2e72a71
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Publish package to the Maven Central Repository
on:
release:
types: [created]
push:
tags:
- "*.*.*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Java 11
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'
server-id: sonatype-nexus-staging
server-username: MAVEN_USERNAME
Expand All @@ -22,4 +23,12 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_USER }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PWD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
- name: Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
target/*.jar
target/*.jar.asc
licence.txt

0 comments on commit 2e72a71

Please sign in to comment.