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
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -Artifact)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
44
+
#>
43
45
If ($NoOperation) {
44
46
Write-Error-Message 'Unable to get GitHub Actions artifact resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -Artifact)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
114
+
#>
111
115
If ($NoOperation) {
112
116
Write-Error-Message 'Unable to get GitHub Actions artifact resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -Cache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
48
+
#>
47
49
If ($NoOperation) {
48
50
Write-Error-Message 'Unable to get GitHub Actions cache resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -Cache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
116
+
#>
113
117
If ($NoOperation) {
114
118
Write-Error-Message 'Unable to get GitHub Actions cache resources!'-Category 'ResourceUnavailable'
"description": "A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner machine, and the toolkit for developing GitHub Actions in PowerShell.",
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -OpenIDConnect)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
33
+
#>
32
34
If ($NoOperation) {
33
35
Write-Error-Message 'Unable to get GitHub Actions OpenID Connect (OIDC) resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -StepSummary)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
36
+
#>
35
37
If ($NoOperation) {
36
38
Write-Error-Message 'Unable to get GitHub Actions step summary resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -StepSummary)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
297
+
#>
292
298
If ($NoOperation) {
293
299
Write-Error-Message 'Unable to get GitHub Actions step summary resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
43
+
#>
42
44
If ($NoOperation) {
43
45
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
125
+
#>
122
126
If ($NoOperation) {
123
127
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
124
128
}
@@ -170,7 +174,9 @@ Function Invoke-ToolCacheToolDownloader {
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
179
+
#>
174
180
If ($NoOperation) {
175
181
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
176
182
}
@@ -221,7 +227,9 @@ Function Register-ToolCacheDirectory {
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
232
+
#>
225
233
If ($NoOperation) {
226
234
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
227
235
}
@@ -271,7 +279,9 @@ Function Register-ToolCacheFile {
[Boolean]$NoOperation = !(Test-GitHubActionsEnvironment -ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
284
+
#>
275
285
If ($NoOperation) {
276
286
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
"description": "A PowerShell module to provide a better and easier way for GitHub Actions to communicate with the runner machine, and the toolkit for developing GitHub Actions in PowerShell.",
0 commit comments