Skip to content

Commit

Permalink
Update upload artifact action
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Nov 7, 2024
1 parent 25b2d99 commit 3eb36f7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "auto aarch64"

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

build_sdist:
Expand All @@ -49,8 +50,9 @@ jobs:
- name: Build sdist
run: python setup.py sdist

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: artifact-sdist
path: dist/*.tar.gz

store_tag_artifacts:
Expand All @@ -59,7 +61,6 @@ jobs:
steps:
- uses: actions/[email protected]
with:
name: artifact
path: dist
- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 3eb36f7

Please sign in to comment.