-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstep.yml
More file actions
55 lines (47 loc) · 2.05 KB
/
step.yml
File metadata and controls
55 lines (47 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
title: |-
Set Environment Variable
summary: |
Set a value for one or more Environment Variables.
description: |-
With this Step, you can set the same value for as many Environment Variables (Env Vars) as you like. Subsequent Steps in your Workflow can use these Env Vars.
You can create new Env Vars with this Step and you can also update existing Env Vars with a new value.
### Configuring the Step
1. In the **Value for copy into Environment Variables** input, set the value that you want for your Env Vars.
1. In the **Destination Environment Variables** input, add the keys for the Env Vars that you want to set.
For example, MY_ENV_VAR. You can add multiple Env Var keys by separating them with a space. Do not add the $ sign in front of the key!
### Useful links
[Environment Variables](https://devcenter.bitrise.io/en/builds/environment-variables.html)
[Available Environment Variables](https://devcenter.bitrise.io/en/references/available-environment-variables.html)
website: https://github.com/bitrise-steplib/steps-set-env-var
source_code_url: https://github.com/bitrise-steplib/steps-set-env-var
support_url: https://github.com/bitrise-steplib/steps-set-env-var/issues
host_os_tags:
- osx-10.10
- ubuntu
type_tags:
- utility
is_requires_admin_user: false
is_always_run: false
is_skippable: false
run_if: ""
toolkit:
go:
package_name: github.com/bitrise-steplib/steps-set-env-var
inputs:
- value:
opts:
title: The new value of the destination Environment Variables
summary: The new value of the destination Environment variables
description: |
The value will be copied into the destination Environment Variables.
is_expand: true
is_required: false
- destination_keys:
opts:
title: Destination Environment Variables
summary: Destination Environment Variables
description: |
List of the keys of the destination Environment Variables. If you want to include multiple keys, separate them with a space.
The value will be copied into these Environment Variables.
is_expand: true
is_required: true