fix
parent
40a7108df1
commit
7712d314fd
|
|
@ -2945,6 +2945,7 @@ exports.CustomWorkflow = void 0;
|
|||
const cloud_runner_logger_1 = __importDefault(__webpack_require__(22855));
|
||||
const cloud_runner_state_1 = __webpack_require__(70912);
|
||||
const yaml_1 = __importDefault(__webpack_require__(13552));
|
||||
const __1 = __webpack_require__(41359);
|
||||
class CustomWorkflow {
|
||||
static runCustomJob(buildSteps) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
|
|
@ -2956,7 +2957,7 @@ class CustomWorkflow {
|
|||
const stepSecrets = step.secrets.map((x) => {
|
||||
const secret = {
|
||||
ParameterKey: x.name,
|
||||
EnvironmentVariable: x.name,
|
||||
EnvironmentVariable: __1.Input.ToEnvVarFormat(x.name),
|
||||
ParameterValue: x.value,
|
||||
};
|
||||
return secret;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -2,6 +2,7 @@ import CloudRunnerLogger from '../services/cloud-runner-logger';
|
|||
import CloudRunnerSecret from '../services/cloud-runner-secret';
|
||||
import { CloudRunnerState } from '../state/cloud-runner-state';
|
||||
import YAML from 'yaml';
|
||||
import { Input } from '../..';
|
||||
|
||||
export class CustomWorkflow {
|
||||
public static async runCustomJob(buildSteps) {
|
||||
|
|
@ -13,7 +14,7 @@ export class CustomWorkflow {
|
|||
const stepSecrets: CloudRunnerSecret[] = step.secrets.map((x) => {
|
||||
const secret: CloudRunnerSecret = {
|
||||
ParameterKey: x.name,
|
||||
EnvironmentVariable: x.name,
|
||||
EnvironmentVariable: Input.ToEnvVarFormat(x.name),
|
||||
ParameterValue: x.value,
|
||||
};
|
||||
return secret;
|
||||
|
|
|
|||
Loading…
Reference in New Issue