Skip to content

Upgrade versions of all things but stay on ES 7.x #54

Upgrade versions of all things but stay on ES 7.x

Upgrade versions of all things but stay on ES 7.x #54

Workflow file for this run

name: Maven Deploy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
release:
types: [ published ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_PASSWORD
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
gpg-passphrase: OSSRH_GPG_SECRET_KEY_PASSWORD
- run: gpg --version
- run: cat ~/.m2/settings.xml
- run: gpg --list-secret-keys --keyid-format=long
- run: mvn -B -ntp versions:set -DnewVersion=$(./version.sh)
- run: mvn -B -ntp clean deploy
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
OSSRH_GPG_SECRET_KEY_PASSWORD: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}