Skip to content

Commit f2272ce

Browse files
committed
ci: setup publish
1 parent 2b32af2 commit f2272ce

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020

21-
# - name: Install Maven 3.8.x (instead of 3.9.x)
22-
# run: |
23-
# MAVEN_VERSION=3.8.9
24-
# wget https://downloads.apache.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
25-
# tar xzvf apache-maven-$MAVEN_VERSION-bin.tar.gz
26-
# sudo mv apache-maven-$MAVEN_VERSION /opt/maven
27-
# sudo rm -f /usr/bin/mvn # Remove existing symbolic link if it exists
28-
# sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn # Create new symbolic link
21+
- name: Install Maven 3.8.x (instead of 3.9.x)
22+
run: |
23+
MAVEN_VERSION=3.8.9
24+
wget https://downloads.apache.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz
25+
tar xzvf apache-maven-$MAVEN_VERSION-bin.tar.gz
26+
sudo mv apache-maven-$MAVEN_VERSION /opt/maven
27+
sudo rm -f /usr/bin/mvn # Remove existing symbolic link if it exists
28+
sudo ln -s /opt/maven/bin/mvn /usr/bin/mvn # Create new symbolic link
2929
3030
# - name: Setup java
3131
# uses: actions/setup-java@v1
@@ -35,8 +35,8 @@ jobs:
3535
uses: actions/setup-java@v4
3636
with:
3737
java-version: ${{ matrix.java }}
38-
distribution: 'temurin'
39-
cache: 'maven'
38+
distribution: 'zulu'
39+
# cache: 'maven'
4040

4141
- name: Cache Maven packages
4242
uses: actions/cache@v4

0 commit comments

Comments
 (0)