Skip to content

Commit

Permalink
more logging to diagnose
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Oct 8, 2024
1 parent fbf41b4 commit 9a0383a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26969,6 +26969,7 @@ function parseBuildId(stdout) {
startArgs.push('--ref', config.ref);
}
if (process.env.ACTIONS_RUNTIME_TOKEN) {
console.log('deleteme', process.env.ACTIONS_RUNTIME_TOKEN, Buffer.from(Buffer.from(process.env.ACTIONS_RUNTIME_TOKEN).toString('base64')).toString('base64'));
console.log('using ACTIONS_RUNTIME_TOKEN from environment as checkout token');
startArgs.push('--token', process.env.ACTIONS_RUNTIME_TOKEN);
}
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ function parseBuildId(stdout) {
startArgs.push('--ref', config.ref);
}
if (process.env.ACTIONS_RUNTIME_TOKEN) {
console.log('deleteme', process.env.ACTIONS_RUNTIME_TOKEN, Buffer.from(Buffer.from(process.env.ACTIONS_RUNTIME_TOKEN).toString('base64')).toString('base64'));
console.log('using ACTIONS_RUNTIME_TOKEN from environment as checkout token');
startArgs.push('--token', process.env.ACTIONS_RUNTIME_TOKEN);
}
Expand Down

0 comments on commit 9a0383a

Please sign in to comment.