Skip to content

Commit 30de422

Browse files
committed
release.yml - update artifact upload and download to v4
1 parent b93813e commit 30de422

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ jobs:
2323
- name: Install sdist
2424
run: pip install dist/*.tar.gz
2525

26-
- uses: actions/upload-artifact@v3
26+
- uses: actions/upload-artifact@v4
2727
with:
2828
path: dist/*.tar.gz
29+
overwrite: true
2930

3031
build_wheels:
3132
name: Build wheels on ${{ matrix.os }}
@@ -47,9 +48,10 @@ jobs:
4748
CIBW_TEST_SKIP: "*"
4849
CIBW_SKIP: "pp*"
4950

50-
- uses: actions/upload-artifact@v3
51+
- uses: actions/upload-artifact@v4
5152
with:
5253
path: ./wheelhouse/*.whl
54+
overwrite: true
5355

5456
build_manylinux_wheels_ubuntu:
5557
name: Build manylinux wheels on ubuntu-latest
@@ -72,9 +74,10 @@ jobs:
7274
CIBW_TEST_SKIP: "*"
7375
CIBW_SKIP: "pp* *-musllinux*"
7476

75-
- uses: actions/upload-artifact@v3
77+
- uses: actions/upload-artifact@v4
7678
with:
7779
path: ./wheelhouse/*.whl
80+
overwrite: true
7881

7982
build_musllinux_wheels_ubuntu:
8083
name: Build musllinux wheels on ubuntu-latest
@@ -112,9 +115,10 @@ jobs:
112115
CIBW_REPAIR_WHEEL_COMMAND: "auditwheel repair -w {dest_dir} {wheel} --exclude libdl.so.2 --exclude librt.so.1 --exclude libm.so.6 --exclude libpthread.so.0 --exclude libc.so.6"
113116

114117

115-
- uses: actions/upload-artifact@v3
118+
- uses: actions/upload-artifact@v4
116119
with:
117120
path: ./wheelhouse/*.whl
121+
overwrite: true
118122

119123

120124
upload_pypi:
@@ -125,10 +129,10 @@ jobs:
125129
permissions:
126130
id-token: write
127131
steps:
128-
- uses: actions/download-artifact@v3
132+
- uses: actions/download-artifact@v4
129133
with:
130134
name: artifact
131135
path: dist
132136

133137
- name: Publish package distributions to PyPI
134-
uses: pypa/gh-action-pypi-publish@release/v1
138+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)