Skip to content

Bump mockito.version from 5.14.0 to 5.14.1 (#400) #283

Bump mockito.version from 5.14.0 to 5.14.1 (#400)

Bump mockito.version from 5.14.0 to 5.14.1 (#400) #283

name: Deploy SNAPSHOT version
on:
push:
branches:
- 'main'
- '[0-9]+.[0-9]+.z'
paths-ignore:
- '**.md'
jobs:
build:
if: github.repository_owner == 'hazelcast'
runs-on: ubuntu-latest
name: Build SNAPSHOT version
steps:
- uses: actions/checkout@v4
- name: Read Java Config
run: cat ${{ github.workspace }}/.github/java-config.env >> $GITHUB_ENV
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRIBUTION }}
server-id: deploy-repository
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
architecture: 'x64'
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
cache: 'maven'
- name: Build with Maven
run: ./mvnw --settings settings.xml -V -B install -Dhz.snapshot.internal.username=${{ secrets.HZ_SNAPSHOT_INTERNAL_USERNAME }} -Dhz.snapshot.internal.password=${{ secrets.HZ_SNAPSHOT_INTERNAL_PASSWORD }}
- name: Deploy OS with Maven
run: ./mvnw -V -B deploy -Djdbc-release -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.SONATYPE_OSS_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.SONATYPE_OSS_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Deploy EE with Maven
run: ./mvnw -f hazelcast-jdbc-enterprise -V -B deploy -Djdbc-release -DskipTests
env:
MAVEN_USERNAME: ${{ secrets.JFROG_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.JFROG_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}