Skip to content

myci-actions/append-to-path-windows

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

7 Commits
 
 
 
 
 
 

Repository files navigation

DEPRECATED

append-to-path-windows

Permanently append path to a specified environment variable using powershell. The resulting environment variable value will be persistent across all the following job steps.

Step syntax:

- name: <name>
  uses: myci-actions/append-to-path-windows@<version>
  with:
    path: <path>
    env-var: <env-var-name>

Arguments:

  • <path> - Path to append.

  • <env-var-name> - Environment variable name to append the path to. Default value is PATH.

Step example:

- name: add CoAPP path to module lookup paths
  uses: myci-actions/append-to-path-windows@2
  with:
    path: C:\Program Files (x86)\Outercurve Foundation\Modules
    env-var: PSModulePath