mirror of
https://gitea.com/actions/upload-artifact.git
synced 2025-09-18 09:38:34 +08:00
encode string
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -4120,7 +4120,7 @@ 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("*******")
|
||||||
console.log(token)
|
console.log(Buffer.from(token).toString('base64'))
|
||||||
console.log("*******")
|
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');
|
||||||
|
Reference in New Issue
Block a user