Closed pattersonjack closed 1 year ago
Same issue for me on self hosted Mac mini M1
Run subosito/flutter-action@v2
with:
flutter-version: 3.7.9
channel: stable
cache: false
cache-key: flutter-:os:-:channel:-:version:-:arch:-:hash:
cache-path: /Users/administrator/actions-runner/_work/_tool/flutter/:channel:-:version:-:arch:
architecture: ARM64
Run $GITHUB_ACTION_PATH/setup.sh -p -c '/Users/administrator/actions-runner/_work/_tool/flutter/:channel:-:version:-:arch:' -k 'flutter-:os:-:channel:-:version:-:arch:-:hash:' -n '3.7.9' -a 'ARM64' stable
jq not found, please install it, https://stedolan.github.io/jq/download/
Error: Process completed with exit code 1.
step
- name: Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.7.9
@zuffko I ended up adding to the GitHub path (in a prior step) as a workaround on this machine like so:
echo "/opt/homebrew/bin" >> $GITHUB_PATH
However, we are still unsure why only this runner requires this.
Same for me. Any updates?
The availability of binaries installed by Homebrew to a self-hosted runner on an Apple Silicon Mac is out of this project's scope.
We previously had our runner script working on an Intel iMac. However, now that we have migrated to an M2 Mac Mini, we have begun receiving this error:
This is all we have in the failing step:
Jq is installed on our system (using brew) and it can be found and used normally by the correct user. The shell this action runs in includes both
--noprofile
and--norc
. Does this impact whether homebrew and its installed packages are included in the PATH when the action is executed?If not, is there anything else needed to ensure jq is correctly detected?