Fix Python library paths
This commit is contained in:
parent
92f03f1aed
commit
10f76c2c9e
|
@ -1,3 +1,14 @@
|
|||
# GitHub Actions
|
||||
|
||||
This folder contains various GitHub Actions that are run upon every new version Git tag pushed to GitHub. They build, pack, and upload/deploy/publish packages and binaries for using the newly released version in various programming languages and operating systems.
|
||||
|
||||
## Self-hosted runners
|
||||
|
||||
GitHub currently doesn't provide ARM64 macOS and Linux runners, so we run self-hosted versions. Jobs run on self-hosted machines aren't isolated (e.g. files created during a job run persist on the real filesystem), and most @actions/* don't have ARM64 builds yet, so self-hosted machines should have tools preinstalled before starting the GitHub Actions runner. These include:
|
||||
|
||||
- Go
|
||||
- Rust
|
||||
- Node.js
|
||||
- Python/pyenv
|
||||
|
||||
See each workflow YAML file for the specific programs that need to be installed beforehand.
|
||||
|
|
|
@ -98,6 +98,8 @@ jobs:
|
|||
fi
|
||||
if [[ "${{ runner.name }}" == macos-arm64 ]]; then
|
||||
pathToPython="/opt/homebrew/bin/python3"
|
||||
# Ensure correct maturin and twine are used.
|
||||
export PATH="/opt/homebrew/bin:$PATH"
|
||||
else
|
||||
pathToPython="$(which python)"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue