From 49d9383f13069396b9f1993243a8d1e0e3a853a0 Mon Sep 17 00:00:00 2001 From: Luiz Irber Date: Tue, 30 Jul 2024 21:03:27 -0700 Subject: [PATCH] replace release upload action --- .github/workflows/build_wheel.yml | 10 ++++------ .github/workflows/build_wheel_all_archs.yml | 9 ++++----- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 848e5e20d..589612ca7 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -73,7 +73,6 @@ jobs: name: wheel-wasm path: './wheelhouse/sourmash*.whl' - release: name: Publish wheels runs-on: ubuntu-20.04 @@ -88,9 +87,8 @@ jobs: path: 'wheels/' # if it matches a Python release tag, upload to github releases - # TODO: In the future, use the create-release and upload-release-assets actions - name: Release - uses: fnkr/github-action-ghr@v1 - env: - GHR_PATH: ${{steps.fetch_artifacts.outputs.download-path}} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v2 + with: + files: | + ${{steps.fetch_artifacts.outputs.download-path}}/wheel-*/* diff --git a/.github/workflows/build_wheel_all_archs.yml b/.github/workflows/build_wheel_all_archs.yml index cdb0038df..4e6a37406 100644 --- a/.github/workflows/build_wheel_all_archs.yml +++ b/.github/workflows/build_wheel_all_archs.yml @@ -80,9 +80,8 @@ jobs: path: 'wheels/' # if it matches a Python release tag, upload to github releases - # TODO: In the future, use the create-release and upload-release-assets actions - name: Release - uses: fnkr/github-action-ghr@v1 - env: - GHR_PATH: ${{steps.fetch_artifacts.outputs.download-path}} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: softprops/action-gh-release@v2 + with: + files: | + ${{steps.fetch_artifacts.outputs.download-path}}/wheel-*/*