Skip to content

Commit f0d1dc8

Browse files
committed
👷 Only build release on release event
1 parent 45b8185 commit f0d1dc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
- devel
67
release:
78
types: [published, prereleased]
89

@@ -94,7 +95,7 @@ jobs:
9495
9596
publish-on-testpypi:
9697
name: 📦 Publish on TestPyPI
97-
if: github.event_name == 'push'
98+
if: github.event_name == 'release'
9899
needs: build
99100
runs-on: ubuntu-latest
100101
steps:

0 commit comments

Comments
 (0)