mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
dev(ci): add --break-system-packages to pip install
Partially resolves #8025 Only use break system install on macos Try extra brew install Brew install on mac, pip install on rest Try using windows-2019 instead of latest (2022) Back to original windows
This commit is contained in:
parent
bd1adbf2d3
commit
ea63068ca2
1 changed files with 6 additions and 1 deletions
7
.github/workflows/nodejs.yml
vendored
7
.github/workflows/nodejs.yml
vendored
|
|
@ -28,7 +28,12 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- name: Fix node-gyp and Python
|
||||
run: python3 -m pip install packaging setuptools --break-system-packages || python3 -m pip install packaging setuptools
|
||||
run: |
|
||||
if [[ "$RUNNER_OS" == "macOS" ]]; then
|
||||
brew install python-setuptools python-packaging
|
||||
else
|
||||
python3 -m pip install $EXTRA_ARGS packaging setuptools
|
||||
fi
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||
|
|
|
|||
Loading…
Reference in a new issue