File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 8
8
tags :
9
9
- " *"
10
10
pull_request :
11
+ workflow_dispatch :
11
12
12
13
# Allow one concurrent deployment
13
14
concurrency :
86
87
linux :
87
88
name : build linux
88
89
runs-on : ubuntu-latest
90
+ needs : [test]
89
91
steps :
90
92
- uses : actions/checkout@v3
91
93
- uses : PyO3/maturin-action@v1.40.1
@@ -102,6 +104,7 @@ jobs:
102
104
windows :
103
105
name : build windows
104
106
runs-on : windows-latest
107
+ needs : [test]
105
108
steps :
106
109
- uses : actions/checkout@v3
107
110
- uses : PyO3/maturin-action@v1.40.1
@@ -117,6 +120,7 @@ jobs:
117
120
macos :
118
121
name : build macos
119
122
runs-on : macos-latest
123
+ needs : [test]
120
124
steps :
121
125
- uses : actions/checkout@v3
122
126
- uses : PyO3/maturin-action@v1.40.1
@@ -132,7 +136,7 @@ jobs:
132
136
release :
133
137
name : Release
134
138
runs-on : ubuntu-latest
135
- if : startsWith(github.ref, 'refs/tags/')
139
+ if : startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch')
136
140
needs : [macos, windows, linux]
137
141
steps :
138
142
- uses : actions/download-artifact@v2
You can’t perform that action at this time.
0 commit comments