From 04b98718c1e0cfda4ea62995597c9e554474d4ce Mon Sep 17 00:00:00 2001 From: ChrizZz110 <110@posteo.de> Date: Mon, 16 Sep 2024 10:23:47 +0200 Subject: [PATCH] changed github action --- .github/workflows/maven.yml | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index b625949..c19cbab 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -1,11 +1,22 @@ run-name: Build the Zoomer by @${{ github.actor }} on: push -steps: - - uses: actions/checkout@v4 - - name: Set up JDK 8 for x64 and run maven - uses: actions/setup-java@v4 - with: - java-version: '8' - distribution: 'oracle' - architecture: x64 - - run: mvn -B build --file pom.xml \ No newline at end of file + +jobs: + build: + + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 1.8 + uses: actions/setup-java@v4 + with: + java-version: '8' + - name: Build with Maven + run: | + mvn clean install -DskipTests + - name: Test with Maven + run: | + mvn verify --no-transfer-progress -DtrimStackTrace=false