Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
+ 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.
  • Loading branch information
carryel committed Dec 24, 2024
1 parent 76e4051 commit 39c82bf
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 39c82bf

Please sign in to comment.