Re: [PATCH 2/2] ci(github): also mark up compile errors
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 10, 2022, 16:30 UTC
- Message-ID
- <xmqqzgikfpm8.fsf@gitster.g>
- In-Reply-To
- <19d6e34f038121b927cdfacc3c4ae5abd1791415.1654774347.git.gitgitgadget@gmail.com>
"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:
> + sed 's/^\(\([^ ]*\):\([0-9]*\):\([0-9]*:\) \)\(error\|warning\): /::\5 file=\2 line=\3::\1/'
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-a-warning-message
seems to use comma as field separator, not SP, for files and lines. We'll see if they are equivalent without getting documented soon, as I will be adding this to my tree for 'seen' today. We should throw a build failure in to see its effect ;-)