Skip to content

Commit

Permalink
Use distinct names for artifacts (#4059)
Browse files Browse the repository at this point in the history
* Use distinct names for artifacts

* Bump `upload-artifact`

* allow any v4 download-artifact

---------

Co-authored-by: Janosh Riebesell <[email protected]>
  • Loading branch information
ab5424 and janosh authored Sep 10, 2024
1 parent 48e7c98 commit 1ff1ba5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
pip install build
python -m build --sdist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

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

- name: Save artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.os }}-${{ matrix.python-version }}
path: ./wheelhouse/*.whl

release:
Expand All @@ -74,9 +75,10 @@ jobs:
python-version: "3.12"

- name: Get build artifacts
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: artifact
pattern: dist-*
merge-multiple: true
path: dist

- name: Publish to PyPi or TestPyPI
Expand Down

0 comments on commit 1ff1ba5

Please sign in to comment.