Skip to content

Commit 5618a1a

Browse files
authored
Replace multiple macos versions to just macos-latest universal2 wheel builds (#653)
1 parent 5813a95 commit 5618a1a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
os: [windows-latest, ubuntu-latest, macos-13, macos-14]
19+
os: [windows-latest, ubuntu-latest, macos-latest]
2020
python-version: ["3.9", "3.10", "3.11", "3.12"]
2121
env:
2222
LIMIT_NUMPY_VERSION: 2.0.0
@@ -29,15 +29,15 @@ jobs:
2929
- uses: actions/checkout@v4
3030

3131
- name: Setup Python ${{ matrix.python-version }}
32-
if: ${{ (matrix.os != 'macos-14') || ((matrix.os == 'macos-14') && (matrix.python-version != '3.9')) }}
32+
if: ${{ ((matrix.os == 'macos-latest') && (matrix.python-version != '3.9')) }}
3333
uses: actions/setup-python@v5
3434
id: pysetup
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
cache: 'pip'
3838

3939
- name: Setup Python 3.9 - macos-arm
40-
if: ${{ (matrix.os == 'macos-14') && (matrix.python-version == '3.9') }}
40+
if: ${{ (matrix.os == 'macos-latest') && (matrix.python-version == '3.9') }}
4141
run: |
4242
brew update
4343
brew install python@${{ matrix.python-version }}

.github/workflows/python-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
os: [windows-latest, ubuntu-latest, macos-13, macos-14]
26+
os: [windows-latest, ubuntu-latest, macos-latest]
2727
python-version: ["3.9", "3.10", "3.11", "3.12"]
2828
steps:
2929
- uses: actions/checkout@v4
3030

3131
- name: Setup Python ${{ matrix.python-version }}
32-
if: ${{ (matrix.os != 'macos-14') || ((matrix.os == 'macos-14') && (matrix.python-version != '3.9')) }}
32+
if: ${{ ((matrix.os == 'macos-latest') && (matrix.python-version != '3.9')) }}
3333
uses: actions/setup-python@v5
3434
id: pysetup
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
cache: 'pip'
3838

3939
- name: Setup Python 3.9 - macos-arm
40-
if: ${{ (matrix.os == 'macos-14') && (matrix.python-version == '3.9') }}
40+
if: ${{ (matrix.os == 'macos-latest') && (matrix.python-version == '3.9') }}
4141
run: |
4242
brew update
4343
brew install python@${{ matrix.python-version }}
@@ -118,7 +118,7 @@ jobs:
118118
with:
119119
user: __token__
120120
password: ${{ secrets.PYPI_API_TOKEN }}
121-
packages_dir: ./dist/
122-
verify_metadata: false
123-
skip_existing: true
121+
packages-dir: ./dist/
122+
verify-metadata: false
123+
skip-existing: true
124124
verbose: true

0 commit comments

Comments
 (0)