Fix target to use the input, not a matrix

This commit is contained in:
Dave Rolsky 2023-03-19 11:03:24 -04:00
parent 42a1f46405
commit 2bfd2f169a
No known key found for this signature in database

View File

@ -42,7 +42,7 @@ runs:
- name: Install toolchain if not cross-compiling
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.platform.target }}
targets: ${{ inputs.target }}
toolchain: ${{ inputs.toolchain }}
if: ${{ steps.determine-cross-compile.outputs.needs-cross == 'false' }}
- name: Install cross if cross-compiling (*nix)