-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove overwrite from upload-artifact (#97)
It appears this is causing some wheels to not get uploaded to pypi.
- Loading branch information
1 parent
89182ad
commit dc66efc
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,8 +42,8 @@ jobs: | |
- uses: pypa/[email protected] | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: artifact-wheel-${{ matrix.os }} | ||
path: wheelhouse/*.whl | ||
overwrite: true | ||
|
||
make_sdist: | ||
runs-on: "ubuntu-latest" | ||
|
@@ -54,11 +54,22 @@ jobs: | |
python -m build --no-isolation --sdist | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: artifact-sdist | ||
path: dist/*.tar.gz | ||
overwrite: true | ||
|
||
upload_all: | ||
merge: | ||
runs-on: ubuntu-latest | ||
needs: [build_wheels, make_sdist] | ||
steps: | ||
- name: Merge Artifacts | ||
uses: actions/upload-artifact/merge@v4 | ||
with: | ||
name: artifact | ||
pattern: artifact-* | ||
delete-merged: true | ||
|
||
upload_all: | ||
needs: merge | ||
runs-on: "ubuntu-latest" | ||
environment: release | ||
if: github.event_name == 'release' && github.event.action == 'published' | ||
|