File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 description : " Rust toolchain to install"
77 required : false
88 default : " stable"
9- extra_targets :
10- description : " Additional Rust targets to install (comma-separated) "
9+ target :
10+ description : " Additional Rust target to install"
1111 required : false
1212 default : " "
1313
1818 - uses : actions-rust-lang/setup-rust-toolchain@v1
1919 with :
2020 toolchain : ${{ inputs.toolchain }}
21-
22- - name : Install additional Rust targets
23- if : inputs.extra_targets != ''
24- shell : bash
25- run : |
26- IFS=',' read -ra TARGETS <<< "${{ inputs.extra_targets }}"
27- for t in "${TARGETS[@]}"; do
28- echo "Installing Rust target: $t"
29- rustup target add "$t"
30- done
21+ target : ${{ inputs.target }}
3122
3223 # Python
3324 - uses : actions/setup-python@v5
Original file line number Diff line number Diff line change 6464 - name : Project setup
6565 uses : ./.github/actions/project-setup
6666 with :
67- extra_targets : ${{ matrix.target }}
67+ target : ${{ matrix.target }}
6868
6969 - name : Build Encoderfile CLI
7070 run : cargo build --bin encoderfile --target ${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments