Skip to content

Commit 3bb8b22

Browse files
committed
CI
1 parent 3df933b commit 3bb8b22

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

.github/workflows/python-module.yml

+16-15
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
4545
- uses: actions/upload-artifact@v3
4646
with:
47-
name: wheels
47+
name: wheels-lin
4848
path: ./python/dist/*.whl
4949

5050
- name: Make sdist
@@ -61,7 +61,7 @@ jobs:
6161
path: ./python/dist/*.tar.gz
6262

6363
build_mac:
64-
runs-on: macos-12
64+
runs-on: macos-13
6565
strategy:
6666
max-parallel: 4
6767
matrix:
@@ -93,9 +93,9 @@ jobs:
9393
pip install pytest
9494
pytest tests
9595
96-
- uses: actions/upload-artifact@v3
96+
- uses: actions/upload-artifact@v4
9797
with:
98-
name: wheels
98+
name: wheels-mac-py${{ matrix.python-version }}
9999
path: ./python/dist/*.whl
100100

101101
build_win:
@@ -108,9 +108,9 @@ jobs:
108108
matrix:
109109
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
110110
steps:
111-
- uses: actions/checkout@v3
111+
- uses: actions/checkout@v4
112112
- name: Set up Python ${{ matrix.python-version }}
113-
uses: actions/setup-python@v4
113+
uses: actions/setup-python@v5
114114
with:
115115
python-version: ${{ matrix.python-version }}
116116
architecture: "x64" # (x64 or x86)
@@ -133,9 +133,9 @@ jobs:
133133
python -c "import wkw"
134134
pytest tests -k "not big_read"
135135
136-
- uses: actions/upload-artifact@v3
136+
- uses: actions/upload-artifact@v4
137137
with:
138-
name: wheels
138+
name: wheels-win-py${{ matrix.python-version }}
139139
path: ./python/dist/*.whl
140140

141141
publish:
@@ -147,20 +147,21 @@ jobs:
147147
runs-on: ubuntu-latest
148148
if: startsWith(github.event.ref, 'refs/tags')
149149
steps:
150-
- uses: actions/checkout@v3
150+
- uses: actions/checkout@v4
151151
with:
152152
fetch-depth: "0"
153-
- name: Set up Python ${{ matrix.python-version }}
154-
uses: actions/setup-python@v4
153+
- name: Set up Python
154+
uses: actions/setup-python@v5
155155
with:
156-
python-version: "3.10"
156+
python-version: "3.11"
157157
- name: Get wheels
158-
uses: actions/download-artifact@v3
158+
uses: actions/download-artifact@v4
159159
with:
160-
name: wheels
160+
pattern: wheels-*
161+
merge-multiple: true
161162
path: dist
162163
- name: Get tar.gz
163-
uses: actions/download-artifact@v3
164+
uses: actions/download-artifact@v4
164165
with:
165166
name: targz
166167
path: dist

0 commit comments

Comments
 (0)