You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (($InputObject-match'^[\da-z_]+=.+$') -and (($InputObject-split'=').Count -eq2)) {
75
-
return$true
76
-
}
77
-
Write-Error-Message "Input `"$InputObject`" is not match the require environment variable pattern."-Category SyntaxError
78
-
}
79
-
<#
80
-
.SYNOPSIS
81
81
GitHub Actions - Add Environment Variable
82
82
.DESCRIPTION
83
83
Add environment variable to the system environment variables and automatically makes it available to all subsequent actions in the current job; The currently running action cannot access the updated environment variables.
0 commit comments