Skip to content

Commit 65b433e

Browse files
committed
more logging
1 parent 3993dcf commit 65b433e

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

tool/github.sh

+12-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,18 @@
77
# Fast fail the script on failures.
88
set -e
99

10-
echo "JAVA_HOME=$JAVA_HOME"
10+
echo "ls /usr/lib/jvm"
11+
ls /usr/lib/jvm
12+
echo "System Java version:"
13+
java --version
14+
echo "export JAVA_HOME=/usr/lib/jvm/temurin-21-jdk-amd64"
15+
export JAVA_HOME=/usr/lib/jvm/temurin-21-jdk-amd64
16+
echo "ls $JAVA_HOME"
17+
ls $JAVA_HOME
18+
echo "export PATH=$JAVA_HOME/jre/bin:\$PATH"
19+
export PATH=$JAVA_HOME/jre/bin:$PATH
20+
echo "Updated Java version:"
21+
java --version
1122

1223
# Clone and configure Flutter to the latest stable release
1324
git clone --depth 1 https://github.com/flutter/flutter.git ../flutter
@@ -27,10 +38,6 @@ if [ "$IDEA_VERSION" = "4.0" -o "$IDEA_VERSION" = "4.1" ] ; then
2738

2839
fi
2940

30-
echo "ls /user/lib/jvm"
31-
ls /usr/lib/jvm
32-
echo "ls /Library/Java"
33-
ls /Library/Java
3441
echo "java --version"
3542
java --version
3643

0 commit comments

Comments
 (0)