ci(build): enhance keystore debugging and signing diagnostic

This commit is contained in:
zarazaex69
2026-04-08 09:52:47 +03:00
parent 58ab7b72fa
commit 71ea134c4b
+10 -3
View File
@@ -99,12 +99,19 @@ jobs:
run: |
cd ${{ github.workspace }}/V2rayNG
echo "sdk.dir=${ANDROID_HOME}" > local.properties
echo "Keystore file: ${KEYSTORE_FILE}"
echo "Keystore file path: ${KEYSTORE_FILE}"
echo "Key alias: ${KEY_ALIAS}"
ls -la "${KEYSTORE_FILE}" || echo "Keystore file not found"
if [ -f "${KEYSTORE_FILE}" ]; then
echo "Keystore file exists"
ls -lh "${KEYSTORE_FILE}"
keytool -list -v -keystore "${KEYSTORE_FILE}" -storepass "${KEYSTORE_PASSWORD}" 2>&1 | head -20 || echo "Failed to list keystore contents"
else
echo "ERROR: Keystore file not found at ${KEYSTORE_FILE}"
exit 1
fi
chmod 755 gradlew
./gradlew licenseFdroidReleaseReport
./gradlew assembleRelease
./gradlew assembleRelease --info 2>&1 | grep -i "signing\|keystore" || true
- name: Upload arm64-v8a APK
uses: actions/upload-artifact@v7