mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-25 16:48:32 +01:00
feature(matcher): allow disabling problem matcher
This commit is contained in:
parent
317ed62323
commit
51173b3da4
1 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,10 @@ inputs:
|
|||
description: "Automatically configure Rust cache"
|
||||
required: false
|
||||
default: "true"
|
||||
matcher:
|
||||
description: "Enable the Rust problem matcher"
|
||||
required: false
|
||||
default: "true"
|
||||
rustflags:
|
||||
description: "set RUSTFLAGS environment variable, set to empty string to avoid overwriting build.rustflags"
|
||||
required: false
|
||||
|
@ -96,6 +100,7 @@ runs:
|
|||
env:
|
||||
NEW_RUSTFLAGS: ${{inputs.rustflags}}
|
||||
- name: "Install Rust Problem Matcher"
|
||||
if: inputs.matcher == 'true'
|
||||
run: echo "::add-matcher::${{ github.action_path }}/rust.json"
|
||||
shell: bash
|
||||
|
||||
|
|
Loading…
Reference in a new issue