From 215828c64e624be7917e69e4e873c746d8df25a2 Mon Sep 17 00:00:00 2001 From: "Haoze(Andrew) Wu" Date: Thu, 11 Apr 2024 11:58:21 -0700 Subject: [PATCH] Fix github action failure to release (#799) --- .github/workflows/cibuildwheel.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index c90cc6bfb..e448f42c6 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -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 ################################################################################ @@ -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 @@ -119,7 +119,7 @@ jobs: - name: Download wheelhouse uses: actions/download-artifact@v4 with: - name: wheelhouse + pattern: wheelhouse-* path: wheelhouse merge-multiple: true