Skip to content

Commit 0beba80

Browse files
authored
Add check build trigger to pypi-publish.yml
1 parent e945038 commit 0beba80

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
name: Build and publish to PyPI
55

66
on:
7-
push:
8-
branches:
9-
- dev
10-
pull_request:
11-
branches:
12-
- dev
137
release:
148
types: [published]
159

@@ -46,6 +40,7 @@ jobs:
4640
build:
4741
name: Build and check distributions
4842
needs: [check_build_trigger]
43+
if: needs.check_build_trigger.outputs.build
4944
runs-on: ubuntu-latest
5045
strategy:
5146
matrix:

0 commit comments

Comments
 (0)