Skip to content

Consolidate workflow #279

Consolidate workflow

Consolidate workflow #279

Workflow file for this run

name: Atmosphere 2.7.x build
on:
push:
branches: [ atmosphere-2.7.x ]
pull_request:
branches: [ atmosphere-2.7.x ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [8, 11, 17, 18, 21]
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Test with Maven
run: mvn -B test --file pom.xml