Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26dfad2

Browse files
committed
ci: Update to v4 of artifacts actions
1 parent 8703dc5 commit 26dfad2

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ jobs:
6969
run: twine check dist/*
7070

7171
- name: Upload sdist result
72-
uses: actions/upload-artifact@v3
72+
uses: actions/upload-artifact@v4
7373
with:
74-
name: sdist
74+
name: cibw-sdist
7575
path: dist/*.tar.gz
7676
if-no-files-found: error
7777

@@ -140,9 +140,9 @@ jobs:
140140
platforms: arm64
141141

142142
- name: Download sdist
143-
uses: actions/download-artifact@v3
143+
uses: actions/download-artifact@v4
144144
with:
145-
name: sdist
145+
name: cibw-sdist
146146
path: dist/
147147

148148
- name: Build wheels for CPython 3.12
@@ -186,8 +186,8 @@ jobs:
186186
CIBW_ARCHS: ${{ matrix.cibw_archs }}
187187
if: matrix.cibw_archs != 'aarch64'
188188

189-
- uses: actions/upload-artifact@v3
189+
- uses: actions/upload-artifact@v4
190190
with:
191-
name: wheels
191+
name: cibw-wheels-${{ runner.os }}-${{ matrix.cibw_archs }}
192192
path: ./wheelhouse/*.whl
193193
if-no-files-found: error

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ jobs:
339339
with:
340340
name: "${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }}"
341341

342-
- uses: actions/upload-artifact@v3
342+
- uses: actions/upload-artifact@v4
343343
if: failure()
344344
with:
345345
name: "${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }} result images"

0 commit comments

Comments
 (0)