Closed baconcheese113 closed 1 year ago
new to act
i am using flutter and encountered the same issue
is there any workarounds exist?
@baconcheese113 the following workaround worked for me:
chmod +x setup.sh
My action.yml
looks like:
runs:
using: 'composite'
steps:
- id: chmodx
run: chmod +x $GITHUB_ACTION_PATH/setup.sh
shell: bash
- id: flutter-action
run: $GITHUB_ACTION_PATH/setup.sh -p -c '${{ inputs.cache-path }}' -k '${{ inputs.cache-key }}' -n '${{ inputs.flutter-version }}' -a '${{ inputs.architecture }}' ${{ inputs.channel }}
shell: bash
I get the following Permission denied error when running this action locally on Windows 11 with nektos/act
I'm using this command to run
And my docker container has the following file permissions for the subosito-flutter-action folder
I tried
chmod
ing the setup.sh file in the container directly, however it's reset each time the action is run