Skip to content

Commit e276b69

Browse files
authored
Merge pull request #26 from PhasesResearchLab/nhew1994-patch-1
Modify Python publish workflow triggers
2 parents 79039ec + 37b0e0c commit e276b69

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
name: Upload Python Package
1010

1111
on:
12-
push:
13-
pull_request:
1412
release:
1513
types: [published]
14+
workflow_dispatch:
1615

1716
permissions:
1817
contents: read
@@ -41,7 +40,6 @@ jobs:
4140
path: dist/
4241

4342
pypi-publish:
44-
if: github.event_name == 'release' && github.event.action == 'published'
4543
runs-on: ubuntu-latest
4644
needs:
4745
- release-build

0 commit comments

Comments
 (0)