File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ inputs:
2121 required : false
2222 default : -D warnings
2323
24+ TARGETS :
25+ description : ' Build all targets or only default?'
26+ required : false
27+ default : " --all-targets"
28+
2429 TOOL :
2530 description : ' Tool used to involve the BUILD command, can be cargo or cross'
2631 required : false
6267
6368 - name : build
6469 shell : bash
65- run : ${{ inputs.TOOL }} ${{ inputs.BUILD }} ${{ inputs.ZFLAGS }} --target ${{ inputs.TARGET }} --all-targets --all-features
70+ run : ${{ inputs.TOOL }} ${{ inputs.BUILD }} ${{ inputs.ZFLAGS }} --target ${{ inputs.TARGET }} ${{ inputs.TARGETS }} --all-features
6671
6772 - name : doc
6873 if : inputs.NODOC == 'false'
Original file line number Diff line number Diff line change @@ -276,6 +276,7 @@ jobs:
276276 NOCLIPPY : true
277277 NODOC : true
278278 NOHACK : true
279+ TARGETS : " "
279280 strategy :
280281 fail-fast : false
281282 matrix :
@@ -301,7 +302,7 @@ jobs:
301302 - name : build
302303 uses : ./.github/actions/build
303304 with :
304- TARGET : ' ${{ matrix.target }}'
305+ TARGETS : ' ${{ matrix.TARGETS }}'
305306 BUILD : ' ${{ env.BUILD }}'
306307 NOCLIPPY : ' ${{ matrix.NOCLIPPY }}'
307308 NODOC : ' ${{ matrix.NODOC }}'
You can’t perform that action at this time.
0 commit comments