Skip to content

Commit

Permalink
Change github workflows to only run for tagged versions
Browse files Browse the repository at this point in the history
  • Loading branch information
morrieinmaas committed Apr 22, 2021
1 parent cc39ea7 commit f01f9fd
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ name: 'CI'
on:
push:
tags:
- 'v.*'
- 'v*'
branches:
- main
pull_request:
branches:
- main
tags:
- 'v*'

jobs:
release:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ name: Upload Python Package
on:
release:
types: [created]
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
tags:
- 'v*'

jobs:
deploy:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/python-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
branches:
- main
tags:
- 'v*'

jobs:
deploy:
Expand Down

0 comments on commit f01f9fd

Please sign in to comment.