Skip to content

Update Versions to 22 #1484

Update Versions to 22

Update Versions to 22 #1484

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main, production ]
push:
branches: [ main, production ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ecosystem: [adoptium, adoptopenjdk]
steps:
- name: Setup mvnw arguments
run: |
case ${{ matrix.ecosystem }} in
adoptium) echo "ARGS=-Padoptium,-adoptopenjdk" >> $GITHUB_ENV ;;
adoptopenjdk) echo "ARGS=-Padoptopenjdk,-adoptium" >> $GITHUB_ENV ;;
esac
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
persist-credentials: false
- uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: '21'
distribution: 'temurin'
cache: 'maven'
- name: Build app
run: ./mvnw --batch-mode clean install ${{ env.ARGS }}