This repository was archived by the owner on Dec 26, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -5078,7 +5078,7 @@ async function run() {
50785078${testSummary}
50795079}
50805080`;
5081- await octokit.checks.create({
5081+ const response = await octokit.checks.create({
50825082 head_sha: github_1.context.sha,
50835083 name: 'Tests Results',
50845084 owner: github_1.context.repo.owner,
@@ -5092,6 +5092,7 @@ ${testSummary}
50925092 text: details
50935093 }
50945094 });
5095+ core_1.debug(`response ${JSON.stringify(response, null, ' ')}`);
50955096 }
50965097 catch (error) {
50975098 core_1.setFailed(error.message);
Original file line number Diff line number Diff line change 1- import { setFailed , getInput } from '@actions/core'
1+ import { setFailed , getInput , debug } from '@actions/core'
22import { GitHub , context } from '@actions/github'
33import { readResults , Annotation } from './nunit'
44
@@ -33,7 +33,7 @@ async function run(): Promise<void> {
3333${ testSummary }
3434}
3535`
36- await octokit . checks . create ( {
36+ const response = await octokit . checks . create ( {
3737 head_sha : context . sha ,
3838 name : 'Tests Results' ,
3939 owner : context . repo . owner ,
@@ -47,6 +47,8 @@ ${testSummary}
4747 text : details
4848 }
4949 } )
50+
51+ debug ( `response ${ JSON . stringify ( response , null , ' ' ) } ` ) ;
5052 } catch ( error ) {
5153 setFailed ( error . message )
5254 }
You can’t perform that action at this time.
0 commit comments