Skip to content

Commit de0dc16

Browse files
committed
Revert "Simplify how we add the matcher"
This reverts commit 5e824ce.
1 parent 5e824ce commit de0dc16

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: 'sort problem matcher'
22
author: 'Peter Newman'
33
description: 'Shows GNU sort errors as annotation (with file and code line) in GitHub Actions'
44
runs:
5-
using: 'bash'
6-
main: 'add-matcher.sh'
5+
using: 'node12'
6+
main: 'index.js'
77
branding:
88
icon: 'check-square'
99
color: 'green'

add-matcher.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env node
2+
console.log(`::add-matcher::${__dirname}/sort-matcher.json`);

0 commit comments

Comments
 (0)