Browse Source

change release trigger to push of new tag

pull/3/head
Brett Langdon 5 years ago
parent
commit
63235dbcaf
Signed by: brettlangdon GPG Key ID: A70042D88B95AA2B
1 changed files with 2 additions and 6 deletions
  1. +2
    -6
      .github/workflows/build.yml

+ 2
- 6
.github/workflows/build.yml View File

@ -1,10 +1,6 @@
name: Build
on:
pull_request:
release:
types:
- published
on: [push, pull_request]
jobs:
build_wheels:
@ -44,7 +40,7 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'
if: github.event_name == "push" && startsWith(github.ref, "refs/tags")
steps:
- uses: actions/download-artifact@v2
with:


Loading…
Cancel
Save