mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:49:52 +07:00
custom: remove modules from selection
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
f530b22232
commit
bf792503b6
9
.github/workflows/custom.yml
vendored
9
.github/workflows/custom.yml
vendored
@ -48,7 +48,6 @@ jobs:
|
||||
MODEL = jsonbody.get('model', '')
|
||||
PRODUCTVER = jsonbody.get('version', '')
|
||||
ADDONS = jsonbody.get('addons', '')
|
||||
MODULES = jsonbody.get('modules', '')
|
||||
KERNEL = jsonbody.get('kernel', '')
|
||||
FORMAT = jsonbody.get('format', '')
|
||||
except ValueError as e:
|
||||
@ -57,7 +56,6 @@ jobs:
|
||||
set_output("MODEL", MODEL)
|
||||
set_output("PRODUCTVER", PRODUCTVER)
|
||||
set_output("ADDONS", ADDONS)
|
||||
set_output("MODULES", MODULES)
|
||||
set_output("KERNEL", KERNEL)
|
||||
set_output("FORMAT", FORMAT)
|
||||
|
||||
@ -133,13 +131,6 @@ jobs:
|
||||
writeConfigKey "addons.\"${A}\"" "${VALUE}" "${PRESET_CONFIG_FILE}"
|
||||
done
|
||||
fi
|
||||
writeConfigKey "modules" "{}" "${PRESET_CONFIG_FILE}"
|
||||
if [ -n "${{ env.MODULES }}" ]; then
|
||||
for M in $(echo "${{ env.MODULES }}" | tr ',' ' ' | sed 's/\[//g' | sed 's/\]//g'); do
|
||||
VALUE=""
|
||||
writeConfigKey "MODULES.\"${M}\"" "${VALUE}" "${PRESET_CONFIG_FILE}"
|
||||
done
|
||||
fi
|
||||
echo "$(cat "${PRESET_CONFIG_FILE}")"
|
||||
sudo echo "arc-${{ env.MODEL }}-${{ env.PRODUCTVER }}-${{ env.VERSION }}" >"/tmp/automated"
|
||||
sudo mv -f "/tmp/automated" "/tmp/p3/automated"
|
||||
|
Loading…
Reference in New Issue
Block a user