Skip to content

Commit f5cdc8b

Browse files
committed
Update action versions
1 parent bb28205 commit f5cdc8b

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ jobs:
5959
platforms: all
6060

6161
- name: Build & (optionally) test wheels
62-
uses: pypa/cibuildwheel@v2.19.1
62+
uses: pypa/cibuildwheel@v3.2.0
6363

64-
- uses: actions/upload-artifact@v3
64+
- uses: actions/upload-artifact@v4
6565
with:
66-
name: dist
66+
name: release-${{ matrix.os }}
6767
path: ./wheelhouse/*.whl
6868
if-no-files-found: error
6969

@@ -78,9 +78,9 @@ jobs:
7878
submodules: true
7979
- name: Build source distribution
8080
run: pipx run build --sdist
81-
- uses: actions/upload-artifact@v3
81+
- uses: actions/upload-artifact@v4
8282
with:
83-
name: dist
83+
name: release-sdist
8484
path: dist/*.tar.gz
8585
if-no-files-found: error
8686

@@ -106,7 +106,7 @@ jobs:
106106
run: sphinx-build ./doc ./build/doc
107107
- name: Zipping documentation
108108
run: cd .//build; zip -r doc.zip doc; cd ..
109-
- uses: actions/upload-artifact@v3
109+
- uses: actions/upload-artifact@v4
110110
with:
111111
name: doc
112112
path: build//doc.zip
@@ -124,7 +124,15 @@ jobs:
124124
- make-doc
125125
runs-on: ubuntu-latest
126126
steps:
127-
- uses: actions/download-artifact@v3
127+
- uses: actions/download-artifact@v4
128+
with:
129+
pattern: release-*
130+
merge-multiple: true
131+
path: dist
132+
- uses: actions/download-artifact@v4
133+
with:
134+
name: doc
135+
path: doc
128136
- name: List distributions to be uploaded
129137
run: ls dist
130138
- name: Upload to GitHub Releases

0 commit comments

Comments
 (0)