From bd24c6e078be526d3f34e979ae778d4e6eb85945 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sun, 30 May 2021 04:05:35 +0100 Subject: [PATCH] Initial actions attempt --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..df99b8b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build Waterfall +on: + push: + branches: + - master + - actions #temp + pull_request: + branches: + - master +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + java: [16,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 package javadoc:javadoc