Skip to content

Commit bd8a2e0

Browse files
committed
ci: upload fix
1 parent 5b65e11 commit bd8a2e0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/default.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ jobs:
1212
os: [windows-latest, macos-latest, macos-14]
1313
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1414
dist: [bdist_wheel]
15-
exclude:
16-
- os: macos-14
17-
python-version: '3.9'
1815
steps:
1916
- name: Set up Python ${{ matrix.python-version }}
2017
uses: actions/setup-python@v4
@@ -39,19 +36,23 @@ jobs:
3936
- name: Upload artifacts
4037
uses: actions/upload-artifact@v4
4138
with:
42-
name: "artifact-python${{ matrix.python-version }}-os${{ matrix.os }}.tar.gz"
39+
name: "artifact-cp${{ matrix.python-version }}-${{ matrix.os }}.tar.gz"
4340
path: dist
4441
deploy:
4542
name: Publish to PyPI
4643
runs-on: ubuntu-latest
4744
needs: build
45+
strategy:
46+
matrix:
47+
os: [windows-latest, macos-latest, macos-14]
48+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
4849
steps:
4950
- name: Checkout
5051
uses: actions/checkout@v2
5152
- name: Download artifacts
5253
uses: actions/download-artifact@v4
5354
with:
54-
name: "artifact-python${{ matrix.python-version }}-os${{ matrix.os }}.tar.gz"
55+
name: "artifact-cp${{ matrix.python-version }}-${{ matrix.os }}.tar.gz"
5556
path: dist
5657
- name: Publish to PyPI
5758
uses: pypa/[email protected]

0 commit comments

Comments
 (0)