mirror of
https://github.com/PaperMC/Waterfall.git
synced 2024-12-12 11:56:53 +01:00
31 lines
708 B
YAML
31 lines
708 B
YAML
name: Build Waterfall
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- actions #temp
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
java: [17,8]
|
|
fail-fast: true
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install Java ${{ matrix.java }}
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: ${{ matrix.java }}
|
|
distribution: 'adopt'
|
|
- name: patch
|
|
run: |
|
|
git config --global user.email "no-reply@github.com"
|
|
git config --global user.name "Github Actions"
|
|
./waterfall p
|
|
- name: build
|
|
run: mvn clean install javadoc:javadoc -B
|