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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.github/actions/itch-push/action.yml b/.github/actions/itch-push/action.yml index 91c1be2..f8ca0fd 100644 --- a/.github/actions/itch-push/action.yml +++ b/.github/actions/itch-push/action.yml @@ -21,14 +21,13 @@ runs: - name: Push run: | - [[ -z $ITCH_PATH ]] && ITCH_PATH=bendn/${{ env.NAME }} function push() { channel=$1 [[ ! -d $channel ]] && exit 0 echo "::group::Push $channel" [[ $channel == mac ]] && echo -e '#!/bin/bash\ncd "$(dirname "$0")";\nxattr -cr "$(pwd)/${{ env.NAME }}.app";\nopen -n -a "$(pwd)/${{ env.NAME }}.app"' >./mac/run.sh chmod +x **; - butler push "$channel" "$ITCH_PATH:$channel" + butler push "$channel" "${{ inputs.itch-path }}:$channel" echo "::endgroup::" } push "web"; push "linux"; push "windows"; @@ -36,5 +35,4 @@ runs: [[ -d android ]] && rm android/*.idsig && push "android" env: BUTLER_API_KEY: ${{ inputs.api-key }} - ITCH_PATH: ${{ inputs.itch-path }} shell: bash |