Skip to content

Commit

Permalink
WIP: CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Aug 17, 2024
1 parent eb4ea65 commit c99021a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/maven_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
ls -al /usr/local/lib/android/sdk/cmdline-tools/latest/bin/sdkmanager
echo "y" | sudo /usr/local/lib/android/sdk/cmdline-tools/latest/bin/sdkmanager --install "ndk;21.0.6113669" --sdk_root=${ANDROID_SDK_ROOT} >/dev/null 2>/dev/null
echo "y" | sudo /usr/local/lib/android/sdk/cmdline-tools/latest/bin/sdkmanager --install "ndk;20.1.5948944" --sdk_root=${ANDROID_SDK_ROOT} >/dev/null 2>/dev/null
# sdkmanager --update
# sdkmanager 'cmdline-tools;latest'
# sdkmanager --uninstall 'cmdline-tools;1.0'
- name: pkgs
run: |
Expand Down Expand Up @@ -97,16 +100,22 @@ jobs:
- name: check java versions installed
run: |
echo $JAVA_HOME||echo "NO ERR"
sudo rm -Rf /usr/lib/jvm/temurin-11-jdk-amd64
sudo rm -Rf /usr/bin/java /bin/java
type -a java
dpkg -l|grep -i jdk
dpkg -l|grep -i java
exit 1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: check java versions installed
run: |
echo $JAVA_HOME||echo "NO ERR"
type -a java
- name: build_maven_deps
run: |
java -version
Expand Down

0 comments on commit c99021a

Please sign in to comment.