File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ inputs:
11
11
description : The directory to store Crystal in
12
12
annotate :
13
13
description : Display compilation and spec errors as GitHub code annotations
14
- default : true
15
14
token :
16
15
description : Personal access token (auto-populated)
17
16
default : ${{ github.token }}
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ async function run() {
49
49
const { stdout} = await subprocess ( [ "crystal" , "--version" ] ) ;
50
50
Core . info ( stdout ) ;
51
51
52
- if ( Core . getBooleanInput ( "annotate" ) ) {
52
+ if ( ! Core . getInput ( "annotate" ) || Core . getBooleanInput ( "annotate" ) ) {
53
53
const matchersPath = Path . join ( __dirname , ".github" ) ;
54
54
Core . info ( `::add-matcher::${ Path . join ( matchersPath , "crystal.json" ) } ` ) ;
55
55
Core . info ( `::add-matcher::${ Path . join ( matchersPath , "crystal-spec.json" ) } ` ) ;
You can’t perform that action at this time.
0 commit comments