Skip to content

Commit 2e5ccfc

Browse files
committed
ci: upgrade to v4 of upload/download-artifact actions
1 parent 5622083 commit 2e5ccfc

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/publish.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,16 @@ jobs:
6868
sha256sum * | tee SHA256SUMS
6969
7070
- name: Upload Python artifact
71-
uses: actions/upload-artifact@v3
71+
uses: actions/upload-artifact@v4
7272
with:
73-
name: dist
73+
name: dist-${{ github.run_number }}
7474
path: dist
7575
if-no-files-found: error
7676

7777
- name: Upload Javascript artifact
78-
uses: actions/upload-artifact@v3
78+
uses: actions/upload-artifact@v4
7979
with:
80-
name: jsdist
80+
name: jsdist-${{ github.run_number }}
8181
path: jsdist
8282
if-no-files-found: error
8383

@@ -93,9 +93,9 @@ jobs:
9393
python-version: "3.11"
9494

9595
- name: Download artifacts from build
96-
uses: actions/download-artifact@v3
96+
uses: actions/download-artifact@v4
9797
with:
98-
name: dist
98+
name: dist-${{ github.run_number }}
9999
path: dist
100100

101101
# The PyPI publishing action will try to publish this checksum file as if
@@ -125,9 +125,9 @@ jobs:
125125
registry-url: https://registry.npmjs.org
126126

127127
- name: Download artifacts from build
128-
uses: actions/download-artifact@v3
128+
uses: actions/download-artifact@v4
129129
with:
130-
name: jsdist
130+
name: jsdist-${{ github.run_number }}
131131
path: jsdist
132132

133133
- run: |

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: pyproject-build
5454

5555
- name: Upload built artifacts
56-
uses: actions/upload-artifact@v3
56+
uses: actions/upload-artifact@v4
5757
with:
5858
name: dist-${{ github.run_number }}
5959
path: ./dist
@@ -94,7 +94,7 @@ jobs:
9494
run: pip install --upgrade pip
9595

9696
- name: Download built artifacts
97-
uses: actions/download-artifact@v3
97+
uses: actions/download-artifact@v4
9898
with:
9999
name: dist-${{ github.run_number }}
100100
path: ./dist
@@ -152,7 +152,7 @@ jobs:
152152
153153
- name: Upload test reports
154154
if: always()
155-
uses: actions/upload-artifact@v3
155+
uses: actions/upload-artifact@v4
156156
with:
157157
name: |-
158158
tests-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.pip-extras }}-${{ github.run_number }}

0 commit comments

Comments
 (0)