From 5eef09b3de1db135e01903e2e0c1f5cb85783b6f Mon Sep 17 00:00:00 2001 From: Magiel Bruntink Date: Thu, 25 Jan 2024 10:57:12 +0100 Subject: [PATCH] Updated GH Action. --- .github/workflows/maven.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b7dbe9a..29b5692 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -6,18 +6,12 @@ on: jobs: build: - - runs-on: ubuntu-18.04 - strategy: - matrix: - java: [ '11.x' ] - steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: - java-version: ${{ matrix.java }} - architecture: x64 + distribution: 'temurin' + java-version: '11' - name: Build with Maven - run: mvn -B package --file pom.xml + run: mvn -B package --file pom.xml \ No newline at end of file