Skip to content

Merge pull request #248 from olibye/release-dev-ops #6

Merge pull request #248 from olibye/release-dev-ops

Merge pull request #248 from olibye/release-dev-ops #6

Workflow file for this run

name: Maven deploy snapshot
on:
push:
branches: [ master ]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Maven Central Repository
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
server-id: ossrh
# used for signing the testjar
gpg-passphrase: secret
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: mvn --no-transfer-progress --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}