-
Notifications
You must be signed in to change notification settings - Fork 703
Open
Labels
Description
Description:
Installer sudo command fails
Action version:
v6
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
Tested on python 3.14
Repro steps:
Run this step on a self hosted MacOS runner in AWS
- name: Setup Python
id: setup-python
uses: actions/setup-python@v6
with:
python-version: '3.14'Expected behavior:
Install python as normal
Actual behavior:
Installation fails with:
Installed versions
Version 3.14 was not found in the local cache
Version 3.14 is available for downloading
Download from "https://github.com/actions/python-versions/releases/download/3.14.3-21673711214/python-3.14.3-darwin-arm64.tar.gz"
Extract downloaded archive
/usr/bin/tar xz -C /Users/runner/action-runner-JZDdfeogcq/actions-runner/_work/_temp/eeae3256-84af-4321-bf29-275bb385fe68 -f /Users/runner/action-runner-JZDdfeogcq/actions-runner/_work/_temp/d573d1e7-f489-4698-85f5-bdbae45532cc
Execute installation script
Check if Python hostedtoolcache folder exist...
Install Python binaries from prebuilt package
Error: sudo: installer: command not found
Error: The process '/bin/bash' failed with exit code 1
A workaround is if one adds /usr/bin/ in PATH
- name: Set path for Python setup step
shell: bash
run: echo "/usr/bin" >> $GITHUB_PATH
Reactions are currently unavailable