mirror of
https://gitea.com/actions/upload-artifact.git
synced 2025-04-21 16:25:34 +08:00
encode string
This commit is contained in:
parent
cfa58b4c9e
commit
b023385413
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');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user