We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd10dc commit 63184f4Copy full SHA for 63184f4
1 file changed
actions/argocd/get-manifest-files/action.yml
@@ -33,15 +33,15 @@ runs:
33
INPUT_ENVIRONMENT: ${{ inputs.environment }}
34
with:
35
script: |
36
- const environment = process.env.INPUT_ENVIRONMENT;
37
- if (!environment) {
+ const environmentInput = process.env.INPUT_ENVIRONMENT;
+ if (!environmentInput) {
38
return core.setFailed(`"environment" input is not defined`);
39
}
40
41
// Get suffix from environment
42
- const environmentParts = environment.split(":");
+ const environmentParts = environmentInput.split(":");
43
44
- environment = environmentParts[0];
+ const environment = environmentParts[0];
45
const environmentSuffix = environmentParts[1];
46
47
core.setOutput("environment", environment);
0 commit comments