mirror of
https://gitea.com/actions/upload-artifact.git
synced 2025-04-21 00:05:33 +08:00
echo token
This commit is contained in:
parent
546158a1ec
commit
cfa58b4c9e
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…
x
Reference in New Issue
Block a user