tools for exporting godot projects via Github Actions
Diffstat (limited to '.github/actions/itch-push/action.yml')
| -rw-r--r-- | .github/actions/itch-push/action.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/actions/itch-push/action.yml b/.github/actions/itch-push/action.yml index 4b84f0e..b8a1d89 100644 --- a/.github/actions/itch-push/action.yml +++ b/.github/actions/itch-push/action.yml @@ -24,10 +24,12 @@ runs: [[ -z $ITCH_PATH ]] && ITCH_PATH=bendn/$NAME function push() { channel=$1 + echo "::group::Push $channel" [[ $channel == mac ]] && echo -e "#!/bin/bash\n"'cd "$(dirname "$0")"||exit;xattr -cr "$(pwd)/$NAME.app";open -n -a "$(pwd)/$NAME.app"' >./mac/run.sh chmod +x **; to_push="$channel" [[ $(find $channel -type f | wc -l) -eq 1 && $channel != "android" ]] && to_push="$(echo $(basename $channel/*) .7z | tr -d " ")" && (cd "$channel" && 7z a -mtm=off -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on "../$to_push" ./*) butler push "$to_push" "$ITCH_PATH:$channel" + echo "::endgroup::" } push "web"; push "linux"; push "windows"; unzip "mac/$NAME.zip" -d mac/ && rm "mac/$NAME.zip" && push "mac" [[ -d android ]] && rm android/*.idsig && push "android" |