Skip to content

Commit

Permalink
Update workflow to download maven
Browse files Browse the repository at this point in the history
  • Loading branch information
boxwoods committed May 30, 2024
1 parent f9d4a71 commit e3a1ab7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/intermediate-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,14 @@ jobs:
java-version: '11'
distribution: 'temurin'
cache: maven
- name: Download Maven
run: |
curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip -o maven.zip
apt-get update
apt-get -y install unzip
unzip -d /usr/share maven.zip
rm maven.zip
ln -s /usr/share/apache-maven-3.6.3/bin/mvn /usr/bin/mvn
echo "M2_HOME=/usr/share/apache-maven-3.6.3" | tee -a /etc/environment
- name: Build aissemble-parent
run: ./mvnw dependency:tree
run: mvn dependency:tree

0 comments on commit e3a1ab7

Please sign in to comment.