Skip to content

Commit 1ff1ba5

Browse files
ab5424janosh
andauthored
Use distinct names for artifacts (materialsproject#4059)
* Use distinct names for artifacts * Bump `upload-artifact` * allow any v4 download-artifact --------- Co-authored-by: Janosh Riebesell <[email protected]>
1 parent 48e7c98 commit 1ff1ba5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
pip install build
3737
python -m build --sdist
3838
39-
- uses: actions/upload-artifact@v3
39+
- uses: actions/upload-artifact@v4
4040
with:
4141
path: dist/*.tar.gz
4242

@@ -57,8 +57,9 @@ jobs:
5757
CIBW_BUILD: cp${{ matrix.python-version }}-*
5858

5959
- name: Save artifact
60-
uses: actions/upload-artifact@v3
60+
uses: actions/upload-artifact@v4
6161
with:
62+
name: dist-${{ matrix.os }}-${{ matrix.python-version }}
6263
path: ./wheelhouse/*.whl
6364

6465
release:
@@ -74,9 +75,10 @@ jobs:
7475
python-version: "3.12"
7576

7677
- name: Get build artifacts
77-
uses: actions/download-artifact@v4.1.7
78+
uses: actions/download-artifact@v4
7879
with:
79-
name: artifact
80+
pattern: dist-*
81+
merge-multiple: true
8082
path: dist
8183

8284
- name: Publish to PyPi or TestPyPI

0 commit comments

Comments
 (0)