cicd: Don't forward aapt stderr to stdout

This commit is contained in:
LuK1337
2025-03-25 13:27:44 +01:00
parent c418218980
commit aeb20fc793

View File

@@ -103,8 +103,7 @@ for partition in partitions:
# Loop over all the APKs in the partition we want # Loop over all the APKs in the partition we want
for apk in glob(GLOB_APK_STR.format(partition)): for apk in glob(GLOB_APK_STR.format(partition)):
# Run 'aapt d permissions' on APK # Run 'aapt d permissions' on APK
aapt_output = subprocess.check_output(AAPT_CMD + [apk], aapt_output = subprocess.check_output(AAPT_CMD + [apk]).decode(encoding='UTF-8')
stderr=subprocess.STDOUT).decode(encoding='UTF-8')
lines = aapt_output.splitlines() lines = aapt_output.splitlines()
# Extract package name from the output # Extract package name from the output
# Output looks like: # Output looks like: