Skip to content

Commit

Permalink
Fix github action failure to release (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-haoze authored Apr 11, 2024
1 parent bcac165 commit 215828c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ jobs:
env:
MACOSX_DEPLOYMENT_TARGET: "10.9"

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

################################################################################
Expand All @@ -87,12 +87,12 @@ jobs:
- name: Download wheelhouse
uses: actions/download-artifact@v4
with:
name: wheelhouse
pattern: wheelhouse-*
path: wheelhouse
merge-multiple: true

- name: Publish to GitHub Releases
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: wheelhouse/*.whl
fail_on_unmatched_files: true
Expand All @@ -119,7 +119,7 @@ jobs:
- name: Download wheelhouse
uses: actions/download-artifact@v4
with:
name: wheelhouse
pattern: wheelhouse-*
path: wheelhouse
merge-multiple: true

Expand Down

0 comments on commit 215828c

Please sign in to comment.