pull/524/head
Frostebite 2023-03-16 14:40:24 +00:00
parent 4386307272
commit 32f85ee17c
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@ -5599,7 +5599,7 @@ class TaskParameterSerializer {
static async exportAllCiVariablesWithoutPrefix() { static async exportAllCiVariablesWithoutPrefix() {
for (const variable of Object.entries(process.env)) { for (const variable of Object.entries(process.env)) {
if (variable[0].includes(`CI_`)) { if (variable[0].includes(`CI_`)) {
await cloud_runner_system_1.CloudRunnerSystem.Run(`export ${variable[0].replace(`CI_`, ``)}="${variable[1] || ``}"`); process.env[variable[0].replace(`CI_`, ``)] = `${variable[1] || ``}`;
} }
} }
await cloud_runner_system_1.CloudRunnerSystem.Run(`printenv`); await cloud_runner_system_1.CloudRunnerSystem.Run(`printenv`);

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -158,7 +158,7 @@ export class TaskParameterSerializer {
public static async exportAllCiVariablesWithoutPrefix() { public static async exportAllCiVariablesWithoutPrefix() {
for (const variable of Object.entries(process.env)) { for (const variable of Object.entries(process.env)) {
if (variable[0].includes(`CI_`)) { if (variable[0].includes(`CI_`)) {
await CloudRunnerSystem.Run(`export ${variable[0].replace(`CI_`, ``)}="${variable[1] || ``}"`); process.env[variable[0].replace(`CI_`, ``)] = `${variable[1] || ``}`;
} }
} }
await CloudRunnerSystem.Run(`printenv`); await CloudRunnerSystem.Run(`printenv`);