Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
nonrational committed Feb 27, 2024
1 parent 8f46ddb commit f9f56b5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61986,7 +61986,7 @@ const run = async () => {

await cache.restoreCache([RESULT_PATH], key, [keyPrefix])

core.info(`Finished restore cache`)
core.info('Finished restore cache')

let actualResult = inputResult

Expand All @@ -62009,9 +62009,9 @@ const run = async () => {

core.info(`[start] setOutput result='${actualResult}'`)
core.setOutput('result', actualResult)
core.info(`[finish] setOutput`)
core.info('[finish] setOutput')

core.info(`[start] core.summary.addTable().write()`)
core.info('[start] core.summary.addTable().write()')
await core.summary
.addTable([
[{data: 'Output', header: true}, {data: 'Result', header: true}],
Expand All @@ -62020,15 +62020,15 @@ const run = async () => {
['cache_outcome', cacheOutcome],
])
.write()
core.info(`[finish] core.summary.addTable().write()`)
core.info('[finish] core.summary.addTable().write()')
} catch(error) {
core.setFailed(error.message)
}
}

core.info(`[start] run()`)
core.info('[start] run()')
run()
core.info(`[finish] run()`)
core.info('[finish] run()')

})();

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const run = async () => {

await cache.restoreCache([RESULT_PATH], key, [keyPrefix])

core.info(`Finished restore cache`)
core.info('Finished restore cache')

let actualResult = inputResult

Expand All @@ -43,9 +43,9 @@ const run = async () => {

core.info(`[start] setOutput result='${actualResult}'`)
core.setOutput('result', actualResult)
core.info(`[finish] setOutput`)
core.info('[finish] setOutput')

core.info(`[start] core.summary.addTable().write()`)
core.info('[start] core.summary.addTable().write()')
await core.summary
.addTable([
[{data: 'Output', header: true}, {data: 'Result', header: true}],
Expand All @@ -54,12 +54,12 @@ const run = async () => {
['cache_outcome', cacheOutcome],
])
.write()
core.info(`[finish] core.summary.addTable().write()`)
core.info('[finish] core.summary.addTable().write()')
} catch(error) {
core.setFailed(error.message)
}
}

core.info(`[start] run()`)
core.info('[start] run()')
run()
core.info(`[finish] run()`)
core.info('[finish] run()')

0 comments on commit f9f56b5

Please sign in to comment.