merge: repair the workflow YAML
This commit is contained in:
@@ -176,19 +176,11 @@ jobs:
|
||||
fi
|
||||
echo "APK: $APK ($(wc -c < "$APK") bytes)"
|
||||
|
||||
if command -v unzip >/dev/null 2>&1; then
|
||||
LISTADO=$(unzip -Z1 "$APK")
|
||||
elif command -v python3 >/dev/null 2>&1; then
|
||||
LISTADO=$(python3 - "$APK" <<'PYZIP'
|
||||
import zipfile, sys
|
||||
for nombre in zipfile.ZipFile(sys.argv[1]).namelist():
|
||||
print(nombre)
|
||||
PYZIP
|
||||
)
|
||||
else
|
||||
echo "Ni unzip ni python3 disponibles: no se puede inspeccionar el APK."
|
||||
if ! command -v unzip >/dev/null 2>&1; then
|
||||
echo "unzip no esta disponible: no se puede inspeccionar el APK."
|
||||
exit 1
|
||||
fi
|
||||
LISTADO=$(unzip -Z1 "$APK")
|
||||
|
||||
if [ -z "$LISTADO" ]; then
|
||||
echo "El listado del APK salio vacio; la inspeccion no es fiable."
|
||||
|
||||
Reference in New Issue
Block a user