mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
parent
4ba104a21c
commit
1e2f389caa
7
.github/workflows/checks.yml
vendored
7
.github/workflows/checks.yml
vendored
@ -50,8 +50,11 @@ jobs:
|
|||||||
- name: Create annotations in the PR
|
- name: Create annotations in the PR
|
||||||
if: failure() && github.event_name == 'pull_request'
|
if: failure() && github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
awk -F': ' <errors.out \
|
awk -v cwd="$(pwd)/" <errors.out '{
|
||||||
"{ sub(\"$(pwd)/\", \"\"); printf \"::error file=%s,line=1::%s\n\", \$1, \$2 }"
|
if (index($0, cwd)==1) $0=substr($0, length(cwd)+1);
|
||||||
|
i=index($0, ": ");
|
||||||
|
printf "::error file=%s,line=1::%s\n", substr($0, 1, i-1), substr($0, i+2);
|
||||||
|
}'
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user