Skip to content

Commit

Permalink
Fix actions/upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
dofuuz committed May 18, 2024
1 parent 473c76c commit df4c1a1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:

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

- uses: softprops/action-gh-release@v1
Expand Down Expand Up @@ -66,6 +67,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: archs
path: ./wheelhouse/*.whl

- uses: softprops/action-gh-release@v1
Expand All @@ -89,6 +91,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz

- uses: softprops/action-gh-release@v1
Expand All @@ -104,12 +107,11 @@ jobs:
# alternatively, to publish when a GitHub Release is created, use the following rule:
# if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
path: dist
pattern: "*"
merge-multiple: true

- uses: pypa/[email protected]
with:
Expand Down

0 comments on commit df4c1a1

Please sign in to comment.