Skip to content

Commit 5e824ce

Browse files
committed
Simplify how we add the matcher
Inspired by https://github.com/nebularg/actions-discord-webhook
1 parent cb94ede commit 5e824ce

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: 'node12'
6-
main: 'index.js'
5+
using: 'bash'
6+
main: 'add-matcher.sh'
77
branding:
88
icon: 'check-square'
99
color: 'green'

add-matcher.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
echo "::add-matcher::sort-matcher.json"

index.js

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

0 commit comments

Comments
 (0)