Skip to content

Bump Maven from 3.9.4 to 3.9.5 #361

Bump Maven from 3.9.4 to 3.9.5

Bump Maven from 3.9.4 to 3.9.5 #361

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8, 11, 17, 20 ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Tests
run: ./mvnw clean test
- name: deploy snapshot
if: github.ref == 'refs/heads/master' && matrix.java == '8'
env:
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
OSS_PWD: ${{ secrets.OSS_PWD }}
OSS_USER: ${{ secrets.OSS_USER }}
run: |
cp .ci.settings.xml ~/.m2/settings.xml
./mvnw -Dgpg.passphrase=$GPG_PASSPHRASE -DskipTests deploy