mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-06 02:30:16 +01:00
24 lines
474 B
YAML
24 lines
474 B
YAML
name: Maven Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
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
|