BungeeCord/.github/workflows/maven.yml

24 lines
474 B
YAML
Raw Normal View History

name: Maven Build
on: [push, pull_request]
jobs:
build:
2023-04-03 23:20:07 +02:00
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
2023-09-20 10:05:28 +02:00
java: [8, 11, 17, 21]
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: ${{ matrix.java }}
- run: java -version && mvn --version
- run: mvn --activate-profiles dist --no-transfer-progress package