diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 848e5e20d7..589612ca73 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 cdb0038df1..4e6a374066 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-*/*