Closed kevin01523 closed 1 year ago
build manually or try to merge sync from upstream
no errors and github actions to work flawlessly
theres an upstream changes into the scripts/build.sh and spellcheck workflow which causes the Sync with upstream and building to fail with github actions
i recommend fixing some codes in accorfance to https://www.shellcheck.net/wiki/SC2086 https://www.shellcheck.net/wiki/SC2116
like this line on 844 , 35 on scripts/build.sh
from echo "artifact=$(echo "$artifact_name")" >> $GITHUB_OUTPUT to echo "artifact=$artifact_name" >> "$GITHUB_OUTPUT"
echo "artifact=$(echo "$artifact_name")" >> $GITHUB_OUTPUT
echo "artifact=$artifact_name" >> "$GITHUB_OUTPUT"
this change seems to fix the issue for merging
from echo "changes=$(git diff --name-only HEAD origin/main)" >> $GITHUB_OUTPUT to
echo "changes=$(git diff --name-only HEAD origin/main)" >> $GITHUB_OUTPUT
echo "changes=$(git diff --name-only HEAD origin/main | tr '\n' ' ' )" >> "$GITHUB_OUTPUT"
f29774d147c6ab89652ef6e698589d56ec3bcf5e
github actions default
10.0.22621.1344
n/a
Thanks. The issue has been resolved.
Steps to reproduce
build manually or try to merge sync from upstream
Expected behaviour
no errors and github actions to work flawlessly
Actual behaviour
theres an upstream changes into the scripts/build.sh and spellcheck workflow which causes the Sync with upstream and building to fail with github actions
i recommend fixing some codes in accorfance to https://www.shellcheck.net/wiki/SC2086 https://www.shellcheck.net/wiki/SC2116
like this line on 844 , 35 on scripts/build.sh
from
echo "artifact=$(echo "$artifact_name")" >> $GITHUB_OUTPUT
toecho "artifact=$artifact_name" >> "$GITHUB_OUTPUT"
this change seems to fix the issue for merging
from
echo "changes=$(git diff --name-only HEAD origin/main)" >> $GITHUB_OUTPUT
toecho "changes=$(git diff --name-only HEAD origin/main | tr '\n' ' ' )" >> "$GITHUB_OUTPUT"
MagiskOnWSALocal commit full SHA/MagiskOnWSALocal
f29774d147c6ab89652ef6e698589d56ec3bcf5e
Linux distribution info/Linux
github actions default
Windows version/Windows
10.0.22621.1344
Build Parameters
n/a
Version requirement
Logs