Skip to content

Commit

Permalink
release on tag with wheel files
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch committed Jan 17, 2025
1 parent a2366cd commit 85540b1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,21 @@ jobs:
build_dir: ../www
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release:
needs: build
if: contains(needs.*.result, 'success') && contains(github.ref, '/tags/v')
runs-on: ubuntu-latest
steps:
- name: download artifact
uses: actions/download-artifact@v4
with:
pattern: pypangolin_wheel_*
merge-multiple: true
path: ./

- name: create release
uses: ncipollo/release-action@v1
with:
artifacts: pypangolin-*.whl
artifactErrorsFailBuild: true

0 comments on commit 85540b1

Please sign in to comment.