Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed Jun 18, 2024
1 parent 7e22a18 commit 6d9b5c0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,11 @@ export class GitHub {

public static async annotateBuildWarnings(source: string, st: SolveStatus): Promise<void> {
st.warnings?.forEach(warning => {
core.info(JSON.stringify(warning, null, 2));
core.info(`warning.level=${warning.level}`);
core.info(`warning.url=${warning.url}`);
core.info(`warning.short=${warning.short}`);
core.info(`warning.detail=${warning.detail?.map(encoded => atob(encoded)).join(' ') || 'n/a'}`);
core.warning(warning.detail?.map(encoded => atob(encoded)).join(' ') || 'n/a', {
title: atob(warning.short) || 'Build warning',
file: source,
Expand Down

0 comments on commit 6d9b5c0

Please sign in to comment.