Skip to content

Commit 876f94a

Browse files
committed
add intel mac and windows
1 parent 6a8aa3c commit 876f94a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build-python-package.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
os: [ubuntu-latest, macos-latest]
16+
os: [ubuntu-latest, macos-latest, macos-13]
1717

1818
steps:
19-
- uses: actions/checkout@v1
19+
- uses: actions/checkout@v4
2020

2121
- uses: actions/setup-python@v5
2222
name: Install Python
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Install cibuildwheel
2727
run: |
28-
python -m pip install git+https://github.com/joerick/cibuildwheel.git@main
28+
python -m pip install cibuildwheel
2929
3030
- name: Install build tools for OSX
3131
if: startsWith(matrix.os, 'macos')
@@ -56,9 +56,9 @@ jobs:
5656
name: Build source distribution
5757
runs-on: ubuntu-latest
5858
steps:
59-
- uses: actions/checkout@v2
59+
- uses: actions/checkout@v4
6060

61-
- uses: actions/setup-python@v2
61+
- uses: actions/setup-python@v5
6262
name: Install Python
6363
with:
6464
python-version: '3.10'
@@ -78,7 +78,7 @@ jobs:
7878
# if: github.ref == 'refs/heads/master' && github.event_name == 'push'
7979

8080
steps:
81-
- uses: actions/checkout@v2
81+
- uses: actions/checkout@v4
8282

8383
- name: Set up Python
8484
uses: actions/setup-python@v5
@@ -99,6 +99,4 @@ jobs:
9999
TWINE_USERNAME: __token__
100100
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
101101
run: |
102-
ls -la ./dist/ # Debug: Check if wheels exist
103-
echo "Attempting upload..."
104102
twine upload --verbose --non-interactive --skip-existing dist/*

0 commit comments

Comments
 (0)