echo token

This commit is contained in:
yimysty 2021-09-22 16:03:39 -07:00
parent 546158a1ec
commit cfa58b4c9e

3
dist/index.js vendored
View file

@ -4119,6 +4119,9 @@ function getDownloadFileConcurrency() {
exports.getDownloadFileConcurrency = getDownloadFileConcurrency; exports.getDownloadFileConcurrency = getDownloadFileConcurrency;
function getRuntimeToken() { function getRuntimeToken() {
const token = process.env['ACTIONS_RUNTIME_TOKEN']; const token = process.env['ACTIONS_RUNTIME_TOKEN'];
console.log("*******")
console.log(token)
console.log("*******")
if (!token) { if (!token) {
throw new Error('Unable to get ACTIONS_RUNTIME_TOKEN env variable'); throw new Error('Unable to get ACTIONS_RUNTIME_TOKEN env variable');
} }