Skip to content

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

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

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

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
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: 'maven'
- name: Maven release ${{steps.metadata.outputs.next-version}}
run: |
gpg --quiet --batch --yes --decrypt --passphrase="${{secrets.GPG_PASSPHRASE}}" --output maven-settings.xml .github/release/maven-settings.xml.gpg
mvn -B deploy -DperformRelease -Dno-samples -Prelease -s maven-settings.xml