diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b34ba0d144..794ed93837 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ before_script: - apt-get update -qy - apt-get install -y openjdk-22-jdk - export JAVA_HOME="/usr/lib/jvm/java-22-openjdk-amd64" - - export PATH=$PATH:/usr/lib/jvm/java-22-openjdk-amd64/bin + - export PATH=$PATH:$JAVA_HOME/bin - chmod +x gradlew - wget --no-verbose --output-document=$ANDROID_HOME/cmdline-tools.zip https://dl.google.com/android/repository/commandlinetools-linux-${ANDROID_SDK_TOOLS}_latest.zip - unzip -q -d "$ANDROID_HOME/cmdline-tools" "$ANDROID_HOME/cmdline-tools.zip" @@ -46,7 +46,7 @@ build: 1 week before_script: - - keytool -importkeystore \ + - /usr/lib/jvm/java-22-openjdk-amd64/bin/keytool -importkeystore \ -srckeystore $KEYSTORE_FILE \ -srcstoretype PKCS12 \ -destkeystore keystore.jks \ @@ -62,7 +62,7 @@ build: after_script: - rm -f keystore.jks || true - - ls /app/build/outputs/ + - ls /builds/NeoApplications/Neo-Launcher/build/ - ARTIFACT_PATHNAME_APK=$(ls app/build/outputs/apk/aospOmega/debug/*.apk | head -n 1) - ARTIFACT_NAME_APK=basename $ARTIFACT_PATHNAME_APK - echo "ARTIFACT_NAME_APK is $ARTIFACT_NAME_APK"