From 72a5ac4ce3a01ab83eb08acdfb4057cedca845d8 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Tue, 7 Mar 2023 09:40:12 +0000 Subject: [PATCH] Add ci workflow - Relates #165 --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..92582db --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + workflow_dispatch: + push: + paths-ignore: + - '.github/**' + +jobs: + build: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + include: + - nickname: linux jdk17 + java: 17 + name: CI Build ${{ matrix.nickname }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: adopt + java-version: ${{ matrix.java }} + cache: gradle + - name: Build + run: ./gradlew build