Skip to content

Commit fd7c02e

Browse files
authored
Troubleshoot failing macos check on CI (#6523)
* Try SYSTEM_VERSION_COMPAT * Update to `actions/setup-python@v4` * Try without PIP_DISABLE_PIP_VERSION_CHECK * Switch order * try upgrade * Try without default shell command * try bash -e * Restore previous step order
1 parent c559e27 commit fd7c02e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818

1919
defaults:
2020
run:
21-
shell: bash -l {0}
21+
shell: bash -e {0}
2222

2323
jobs:
2424
build:
@@ -80,7 +80,7 @@ jobs:
8080
py_cmd: python
8181
steps:
8282
- name: Install Python
83-
uses: actions/setup-python@v2
83+
uses: actions/setup-python@v4
8484
with:
8585
python-version: ${{ matrix.python }}
8686
architecture: 'x64'
@@ -90,7 +90,7 @@ jobs:
9090
path: ./dist
9191
- name: Install the prerequisites
9292
run: |
93-
${{ matrix.py_cmd }} -m pip install pip wheel
93+
${{ matrix.py_cmd }} -m pip install -U pip wheel
9494
- name: Install the package
9595
run: |
9696
cd dist

.github/workflows/buildutils.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
uses: actions/checkout@v2
7575

7676
- name: Install Python
77-
uses: actions/setup-python@v2
77+
uses: actions/setup-python@v4
7878
with:
7979
python-version: '3.9'
8080
architecture: 'x64'

0 commit comments

Comments
 (0)