From 39c82bfc248907febacd154a6fcce01f701000d4 Mon Sep 17 00:00:00 2001 From: Bongjae Chang Date: Tue, 24 Dec 2024 14:31:11 +0900 Subject: [PATCH] Update maven.yml + Added a step for installing maven v3.9.9 by referring to https://github.com/eclipse-ee4j/glassfish/blob/master/.github/workflows/build-windows.yml. --- .github/workflows/maven.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 33aa2591b..39e2bb392 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -32,9 +32,13 @@ jobs: with: distribution: 'temurin' java-version: ${{ matrix.java_version }} + - name: Install Maven + run: | + curl -o ./apache-maven-3.9.9-bin.tar.gz https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz + tar -xf ./apache-maven-3.9.9-bin.tar.gz - name: Maven Build run: | - mvn --show-version \ + ./apache-maven-3.9.9/bin/mvn --show-version \ --no-transfer-progress \ --activate-profiles staging \ --define skipTests=true \ @@ -57,9 +61,13 @@ jobs: with: distribution: 'temurin' java-version: ${{ matrix.java_version }} + - name: Install Maven + run: | + curl -o ./apache-maven-3.9.9-bin.tar.gz https://dlcdn.apache.org/maven/maven-3/3.9.9/binaries/apache-maven-3.9.9-bin.tar.gz + tar -xf ./apache-maven-3.9.9-bin.tar.gz - name: Maven Build run: | - mvn --show-version \ + ./apache-maven-3.9.9/bin/mvn --show-version \ --no-transfer-progress \ --fail-at-end \ --activate-profiles staging \