mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-19 06:54:45 +02:00
echo token
This commit is contained in:
parent
546158a1ec
commit
cfa58b4c9e
1 changed files with 3 additions and 0 deletions
3
dist/index.js
vendored
3
dist/index.js
vendored
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue