fix: add a couple of debug lines
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -170,11 +170,13 @@ async function checkInputs() {
|
|||||||
// #region GITHUB_TOKEN
|
// #region GITHUB_TOKEN
|
||||||
let token = process.env.GITHUB_TOKEN
|
let token = process.env.GITHUB_TOKEN
|
||||||
if (token) {
|
if (token) {
|
||||||
|
debug('Using token from GITHUB_TOKEN env variable.')
|
||||||
warning(
|
warning(
|
||||||
"The GITHUB_TOKEN env variable is deprecated and will not be supported in the next major release. Use the 'token' input, " +
|
"The GITHUB_TOKEN env variable is deprecated and will not be supported in the next major release. Use the 'token' input, " +
|
||||||
"which defaults to 'secrets.GITHUB_TOKEN'."
|
"which defaults to 'secrets.GITHUB_TOKEN'."
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
|
debug('Using token from token input.')
|
||||||
token = getInput('token')
|
token = getInput('token')
|
||||||
}
|
}
|
||||||
// #endregion
|
// #endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user