Skip to content

Commit 850707d

Browse files
The problem matcher needs to be on the host
1 parent e7f0320 commit 850707d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/sh -l
22

3-
echo "::add-matcher::/problem-matcher.json"
3+
# Copy the matcher to a shared volume with the host; otherwise "add-matcher"
4+
# can't find it.
5+
cp /problem-matcher.json ${HOME}/
6+
echo "::add-matcher::${HOME}/problem-matcher.json"
47

58
sh -c "/root/.composer/vendor/bin/phpcs --standard=Magento2 $GITHUB_WORKSPACE -s $*"

0 commit comments

Comments
 (0)