Skip to content

Merge pull request #324 from quarkiverse/dependabot/maven/io.quarkive… #225

Merge pull request #324 from quarkiverse/dependabot/maven/io.quarkive…

Merge pull request #324 from quarkiverse/dependabot/maven/io.quarkive… #225

name: Snapshot Release
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
on:
push:
branches: [ main ]
jobs:
release-snapshot:
runs-on: ubuntu-latest
name: snapshot-release
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Maven release ${{steps.metadata.outputs.next-version}}
run: |
mvn -B deploy -DperformRelease -Dno-samples -Prelease
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}