Skip to content

myci-actions/export-env-var

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

export-env-var

Set and export environment variable in bash. The resulting environment variable value will be persistent across all the following job steps.

Step syntax:

- name: <name>
  uses: myci-actions/export-env-var@<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@1
  with:
    name: PATH
    value: $PATH:/some/path

About

Set and export environment variable

Resources

License

Stars

Watchers

Forks

Packages

No packages published