subosito / flutter-action

Flutter environment for use in GitHub Actions. It works on Linux, Windows, and macOS.
MIT License
2.17k stars 193 forks source link

Setup script not working flutter-action/v2.3.0/setup.sh: line 17: jq: command not found #144

Closed omtodkar closed 2 years ago

omtodkar commented 2 years ago

Unable to setup flutter actions for Android deployment.

Run subosito/flutter-action@v[2](https://github.com/todkars/flutter/runs/5814565562?check_suite_focus=true#step:4:2).[3](https://github.com/todkars/flutter/runs/5814565562?check_suite_focus=true#step:4:3).0
  with:
    channel: stable
    cache-key: flutter
    cache-path: /home/ubuntu/actions-runner/_work/_tool/flutter
  env:
    JAVA_HOME: /home/ubuntu/actions-runner/_work/_tool/Java_Zulu_jdk/11.0.1[4](https://github.com/todkars/flutter/runs/5814565562?check_suite_focus=true#step:4:4)-9/x64
Run $GITHUB_ACTION_PATH/setup.sh -c "/home/ubuntu/actions-runner/_work/_tool/flutter" stable 
  $GITHUB_ACTION_PATH/setup.sh -c "/home/ubuntu/actions-runner/_work/_tool/flutter" stable 
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    JAVA_HOME: /home/ubuntu/actions-runner/_work/_tool/Java_Zulu_jdk/11.0.14-9/x64
/home/ubuntu/actions-runner/_work/_actions/subosito/flutter-action/v2.3.0/setup.sh: line 17: jq: command not found
/home/ubuntu/actions-runner/_work/_actions/subosito/flutter-action/v2.3.0/setup.sh: line 38: echo: write error: Broken pipe
/home/ubuntu/actions-runner/_work/_actions/subosito/flutter-action/v2.3.0/setup.sh: line 110: jq: command not found
basename: missing operand
Try 'basename --help' for more information.
/home/ubuntu/actions-runner/_work/_actions/subosito/flutter-action/v2.3.0/setup.sh: line [5](https://github.com/todkars/flutter/runs/5814565562?check_suite_focus=true#step:4:5)3: /home/ubuntu/actions-runner/_work/_temp/: Is a directory
tar: /home/ubuntu/actions-runner/_work/_temp/: Cannot read: Is a directory
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
rm: cannot remove '/home/ubuntu/actions-runner/_work/_temp/': Is a directory
kuhnroyal commented 2 years ago

Seems to be a private runner, you need to install jq