Set and export environment variable in powershell
ActionsSet and export environment variable using powershell to be available for the steps that follow
1
LatestBy myci-actions
Tags
(1)Step syntax:
- name: <name> uses: myci-actions/export-env-var-powershell@<version> with: name: <variable-name> value: <variable-value>
Arguments:
-
<variable-name>
- Name of the variable to set. -
<variable-value>
- Variable value.
Step example:
- name: add path to PATH environment variable uses: myci-actions/export-env-var-powershell@1 with: name: PATH value: $env:PATH;c:\some\path
Set and export environment variable in powershell is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.