Skip to content

Commit

Permalink
ci(rust): add targets input (#2099)
Browse files Browse the repository at this point in the history
Needed for mozilla/mtu#21.
  • Loading branch information
mxinden authored Sep 12, 2024
1 parent dc068f9 commit 0b106c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ inputs:
token:
description: 'A Github PAT'
required: true
targets:
description: Comma-separated list of target triples to install for this toolchain
required: false

runs:
using: composite
Expand All @@ -28,6 +31,7 @@ runs:
with:
toolchain: ${{ inputs.version }}
components: ${{ inputs.components }}
targets: ${{ inputs.targets }}

- name: Set up MSVC (Windows)
if: runner.os == 'Windows'
Expand Down

0 comments on commit 0b106c2

Please sign in to comment.