File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ jobs:
144144 - name : Build and run in Ubuntu 20.04 container (Dry Run)
145145 if : github.event_name == 'pull_request'
146146 run : |
147- docker run --platform linux/amd64 -v ${{ github.workspace }}:/workspace -w /workspace debian:10 bash -c "
147+ docker run --platform linux/amd64 -v ${{ github.workspace }}:/workspace -w /workspace openjdk:8-jre-buster bash -c "
148148 set -ex
149149 apt-get update
150150
@@ -176,14 +176,6 @@ jobs:
176176 zip \
177177 unzip \
178178
179- wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
180- add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
181- apt-get update
182- DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --assume-yes adoptopenjdk-8-hotspot
183- java -version
184- ls /usr/lib/jvm
185- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
186-
187179 # manually install maven, apt will use java11
188180 MAVEN_VERSION=3.9.6
189181 curl -OL https://archive.apache.org/dist/maven/maven-3/\${MAVEN_VERSION%.*.*}/\$MAVEN_VERSION/binaries/apache-maven-\$MAVEN_VERSION-bin.tar.gz
You can’t perform that action at this time.
0 commit comments