From 609c57466803080da657bebf54f69e5cb6841326 Mon Sep 17 00:00:00 2001 From: DTieman <104771901+DTieman@users.noreply.github.com> Date: Mon, 20 Mar 2023 20:23:53 +0100 Subject: [PATCH] Runner test --- .github/workflows/maven.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 825103e..b234054 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,26 +1,18 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven - name: Java CI with Maven - on: push: branches: [ "master" ] pull_request: branches: [ "master" ] - jobs: build: - - runs-on: ubuntu-latest - + runs-on: self-hosted steps: - uses: actions/checkout@v3 - name: Set up JDK 11 uses: actions/setup-java@v3 with: - java-version: '11' + java-version: '17' distribution: 'temurin' - cache: maven - - name: Build with Maven - run: mvn -B package --file pom.xml + - name: Run the Maven verify phase + run: mvn --batch-mode --update-snapshots verify