Skip to content

fix: adjust for changed package (#728) #422

fix: adjust for changed package (#728)

fix: adjust for changed package (#728) #422

name: Release Snapshots of main and next on push
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
on:
push:
branches: [ main, next ]
jobs:
release-snapshot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v5.2.0
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
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