Skip to content

Commit

Permalink
replace release upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Jul 31, 2024
1 parent 90277fb commit 49d9383
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
name: wheel-wasm
path: './wheelhouse/sourmash*.whl'


release:
name: Publish wheels
runs-on: ubuntu-20.04
Expand All @@ -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-*/*
9 changes: 4 additions & 5 deletions .github/workflows/build_wheel_all_archs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-*/*

0 comments on commit 49d9383

Please sign in to comment.