Merge pull request #189 from gsmet/quarkus-3.3.3 #127
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v5 | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.GPG_PASSPHRASE }} | |
- uses: actions/setup-java@v3 | |
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 |