Skip to content

api_function_addgithubactionspath

hugoalh edited this page Mar 2, 2023 · 9 revisions

Add-GitHubActionsPATH

  • Type: Function
  • In Version: >= v0.3.0

Description

Add-GitHubActionsPATH [-Path] <String[]> [-NoValidator] [-Scope <EnumFlag:GitHubActionsEnvironmentVariableScopes>]

Add PATH to the current step and/or all of the subsequent steps in the current job.

Parameter

NoValidator

[Optional] <Switch> Whether to not check the paths are valid.

  • Position: Named
  • Accept Pipeline Input By Property Name:
    • (>= v1.1.0) True βœ”
    • (< v1.1.0) False ❌
  • Alias:
    • NoValidate
    • SkipValidate
    • SkipValidator

Path

<String[]> Absolute paths.

  • Position: 0
  • Accept Pipeline Input: True βœ”
  • Accept Pipeline Input By Property Name: True βœ”
  • Accept Wildcard Characters: False ❌
  • Alias:
    • Paths

Scope

[Optional] <EnumFlag:GitHubActionsEnvironmentVariableScopes> Scope of the PATHs.

  • Default Value:
    [GitHubActionsEnvironmentVariableScopes]3
  • Position: Named
  • Accept Pipeline Input: False ❌
  • Accept Pipeline Input By Property Name:
    • (>= v1.1.0) True βœ”
    • (< v1.1.0) False ❌
  • Accept Wildcard Characters: False ❌
  • Alias:
    • (>= v1.1.0) Scopes

Output

<Void>

Guide

API

Enum

Enum Flag

Function

Function Alias

Clone this wiki locally