1 parent ef5abec commit 591c80eCopy full SHA for 591c80e
1 file changed
.github/workflows/build.yml
@@ -4,8 +4,14 @@ on:
4
push:
5
branches:
6
- master
7
+ tags:
8
+ - '*'
9
pull_request:
10
workflow_dispatch:
11
+ inputs:
12
+ publish:
13
+ required: true
14
+ type: boolean
15
16
jobs:
17
build-non-windows-wheel:
@@ -105,7 +111,7 @@ jobs:
105
111
path: dist/*.whl
106
112
107
113
publish:
108
- if: ${{ startsWith(github.ref, 'refs/tags/') }}
114
+ if: ${{ inputs.publish || startsWith(github.ref, 'refs/tags/') }}
109
115
needs: [build-non-windows-wheel, build-windows-wheel]
110
116
runs-on: ubuntu-latest
117
environment:
0 commit comments