Skip to content

Commit

Permalink
Run workflow for release
Browse files Browse the repository at this point in the history
  • Loading branch information
tkralphs committed Mar 26, 2022
1 parent 7f158f2 commit aed5e6d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Build and upload to PyPI
# taken from https://github.com/pypa/cibuildwheel/blob/main/examples/github-deploy.yml

# Build on every branch push, tag push, and pull request change:
on: [push, pull_request]
# on: [push, pull_request]
# Alternatively, to publish when a (published) GitHub Release is created, use the following:
# on:
# push:
# pull_request:
# release:
# types:
# - published
on:
push:
pull_request:
release:
types:
- published

jobs:
build_wheels:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
#repository_url: https://test.pypi.org/legacy/

upload_release_assets:
needs: [build_wheels, build_sdist]
Expand Down

0 comments on commit aed5e6d

Please sign in to comment.