Skip to content

Commit 40f77ab

Browse files
Update action triggers
1 parent 19e64b4 commit 40f77ab

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
name: Publish python PyPI
22

3-
on:
4-
release:
5-
types: [published]
6-
73
jobs:
84
build-release:
95
name: Build and publish PyPI
@@ -21,7 +17,6 @@ jobs:
2117
pip3 install .
2218
pip3 install .[pypi]
2319
pip3 install build
24-
2520
- name: Build Package
2621
run: |
2722
python -m build --no-isolation

.github/workflows/publish-to-test-pypi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Publish python PyPI test
22

33
on:
4-
pull_request:
5-
branches:
6-
- main
4+
push:
5+
tags:
6+
- v*
77

88
jobs:
99
build-release:

0 commit comments

Comments
 (0)