Workflow fixes

This commit is contained in:
XargonWan 2024-07-25 22:52:02 +09:00
parent 034ae09ddd
commit 642ff7700e
2 changed files with 6 additions and 6 deletions

View file

@ -4,11 +4,11 @@ git clone https://github.com/XargonWan/RetroDECK --depth=1 RetroDECK
# Creating module manifest # Creating module manifest
manifest_header="manifest-header.yml" manifest_header="manifest-header.yml"
manifest_module="manifest_module.yml" manifest_modules="manifest_module.yml"
module_manifest="net.retrodeck.module.yml" full_manifest="net.retrodeck.module.yml"
command="/app/bin/module" command="module"
# sed -n '/command/q;p' RetroDECK/net.retrodeck.retrodeck.yml > "$manifest_header" TEMPORARY DISABLED TO TRY A BUILD WITH ANOTHER RUNTIME sed -n '/command/q;p' RetroDECK/net.retrodeck.retrodeck.yml > "$manifest_header" TEMPORARY DISABLED TO TRY A BUILD WITH ANOTHER RUNTIME
echo -e "command: $command\n" >> "$manifest_header" echo -e "command: $command\n" >> "$manifest_header"
sed -i '/^[[:space:]]*#/d' "$manifest_header" sed -i '/^[[:space:]]*#/d' "$manifest_header"
sed -i 's/[[:space:]]*#.*$//' "$manifest_header" sed -i 's/[[:space:]]*#.*$//' "$manifest_header"
@ -16,7 +16,7 @@ sed -n '/finish-args:/,${/cleanup:/q;p;}' RetroDECK/net.retrodeck.retrodeck.yml
sed -i 's/net.retrodeck.retrodeck/net.retrodeck.module/' "$manifest_header" sed -i 's/net.retrodeck.retrodeck/net.retrodeck.module/' "$manifest_header"
cat "$manifest_header" > "$module_manifest" cat "$manifest_header" > "$full_manifest"
cat "$manifest_module" >> "$module_manifest" cat "$manifest_modules" >> "$full_manifest"
rm -rf RetroDECK rm -rf RetroDECK