File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 77 required : true
88 type : string
99 description : " The github artifact holding the wheel file which will be published"
10+ workflow_dispatch :
11+ inputs :
12+ release :
13+ required : true
14+ type : string
15+ description : " The github release which will be published"
1016 secrets :
1117 tapTokenOverride :
1218 required : false
1925 - name : Checkout source code
2026 uses : actions/checkout@v3
2127
28+ # Download either via release or provided artifact
29+ - name : Download release
30+ if : ${{ github.event_name == 'workflow_dispatch' }}
31+ run : gh release download ${{ inputs.release }} --pattern "*.whl" --dir dist
32+
2233 - name : Download artifact
34+ if : ${{ github.event_name == 'workflow_call' }}
2335 uses : actions/download-artifact@v3
2436 with :
2537 name : ${{ inputs.artifactName }}
You can’t perform that action at this time.
0 commit comments