Skip to content

Commit

Permalink
feature(matcher): allow disabling problem matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Nov 30, 2023
1 parent 317ed62 commit 51173b3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 51173b3

Please sign in to comment.