8
8
workflow_dispatch :
9
9
inputs :
10
10
commit_id :
11
- description : ' Commit ID (optional)'
11
+ description : ' Branch or Commit ID (optional)'
12
12
required : false
13
+ type : string
13
14
schedule :
14
15
- cron : " 0 12 * * *"
15
16
52
53
asm : " "
53
54
runs-on : ${{ matrix.image }}
54
55
steps :
55
- - name : Check out repo
56
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
56
57
uses : actions/checkout@v4
57
58
with :
58
59
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
93
94
vis :
94
95
runs-on : ubuntu-20.04
95
96
steps :
96
- - name : Check out repo
97
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
97
98
uses : actions/checkout@v4
98
99
with :
99
100
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -115,7 +116,7 @@ jobs:
115
116
needs : [bdist] # bdist is not needed but slow this step down
116
117
runs-on : ubuntu-20.04
117
118
steps :
118
- - name : Check out repo
119
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
119
120
uses : actions/checkout@v4
120
121
with :
121
122
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -140,7 +141,7 @@ jobs:
140
141
needs : [bdist] # bdist is not needed but slow this step down
141
142
runs-on : ubuntu-20.04
142
143
steps :
143
- - name : Check out repo
144
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
144
145
uses : actions/checkout@v4
145
146
with :
146
147
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -162,7 +163,7 @@ jobs:
162
163
sdist :
163
164
runs-on : ubuntu-20.04
164
165
steps :
165
- - name : Check out repo
166
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
166
167
uses : actions/checkout@v4
167
168
with :
168
169
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -189,7 +190,7 @@ jobs:
189
190
permissions :
190
191
checks : write
191
192
steps :
192
- - name : Check out repo
193
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
193
194
uses : actions/checkout@v4
194
195
with :
195
196
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -236,7 +237,7 @@ jobs:
236
237
runs-on : ubuntu-20.04
237
238
needs : [bld, vis]
238
239
steps :
239
- - name : Check out repo
240
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
240
241
uses : actions/checkout@v4
241
242
with :
242
243
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -272,7 +273,7 @@ jobs:
272
273
needs : [bdist] # bdist is not needed but slow this step down
273
274
runs-on : ubuntu-20.04
274
275
steps :
275
- - name : Check out repo
276
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
276
277
uses : actions/checkout@v4
277
278
with :
278
279
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -307,7 +308,7 @@ jobs:
307
308
image : windows-latest
308
309
runs-on : ${{ matrix.image }}
309
310
steps :
310
- - name : Check out repo
311
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
311
312
uses : actions/checkout@v4
312
313
with :
313
314
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -414,7 +415,7 @@ jobs:
414
415
scheduled : " "
415
416
runs-on : ${{ matrix.image }}
416
417
steps :
417
- - name : Check out repo
418
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
418
419
uses : actions/checkout@v4
419
420
with :
420
421
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -494,7 +495,7 @@ jobs:
494
495
image : windows-latest
495
496
runs-on : ${{ matrix.image }}
496
497
steps :
497
- - name : Check out repo
498
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
498
499
uses : actions/checkout@v4
499
500
with :
500
501
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -583,7 +584,7 @@ jobs:
583
584
image : windows-latest
584
585
runs-on : ${{ matrix.image }}
585
586
steps :
586
- - name : Check out repo
587
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
587
588
uses : actions/checkout@v4
588
589
with :
589
590
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -665,7 +666,7 @@ jobs:
665
666
permissions :
666
667
checks : write
667
668
steps :
668
- - name : Check out repo
669
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
669
670
uses : actions/checkout@v4
670
671
with :
671
672
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
@@ -698,7 +699,7 @@ jobs:
698
699
permissions :
699
700
checks : write
700
701
steps :
701
- - name : Check out repo
702
+ - name : Check out repo ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
702
703
uses : actions/checkout@v4
703
704
with :
704
705
ref : ${{ github.event_name == 'workflow_dispatch' && inputs.commit_id || github.sha }}
0 commit comments