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, only stop this function but not others.
42
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-Artifact)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
43
43
If ($NoOperation) {
44
44
Write-Error-Message 'Unable to get GitHub Actions artifact resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-Artifact)# When the requirements are not fulfill, only stop this function but not others.
110
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-Artifact)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
111
111
If ($NoOperation) {
112
112
Write-Error-Message 'Unable to get GitHub Actions artifact resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-Cache)# When the requirements are not fulfill, only stop this function but not others.
45
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-Cache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
46
46
If ($NoOperation) {
47
47
Write-Error-Message 'Unable to get GitHub Actions cache resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-Cache)# When the requirements are not fulfill, only stop this function but not others.
111
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-Cache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
112
112
If ($NoOperation) {
113
113
Write-Error-Message 'Unable to get GitHub Actions cache resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-OpenIDConnect)# When the requirements are not fulfill, only stop this function but not others.
31
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-OpenIDConnect)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
32
32
If ($NoOperation) {
33
33
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, only stop this function but not others.
34
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-StepSummary)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
35
35
If ($NoOperation) {
36
36
Write-Error-Message 'Unable to get GitHub Actions step summary resources!'-Category 'ResourceUnavailable'
37
37
}
@@ -288,7 +288,7 @@ Function Set-StepSummary {
288
288
[Switch]$NoNewLine
289
289
)
290
290
Begin {
291
-
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-StepSummary)# When the requirements are not fulfill, only stop this function but not others.
291
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-StepSummary)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
292
292
If ($NoOperation) {
293
293
Write-Error-Message 'Unable to get GitHub Actions step summary resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, only stop this function but not others.
41
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
42
42
If ($NoOperation) {
43
43
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, only stop this function but not others.
121
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
122
122
If ($NoOperation) {
123
123
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
124
124
}
@@ -170,7 +170,7 @@ Function Invoke-ToolCacheToolDownloader {
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, only stop this function but not others.
173
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
174
174
If ($NoOperation) {
175
175
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
176
176
}
@@ -221,7 +221,7 @@ Function Register-ToolCacheDirectory {
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, only stop this function but not others.
224
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
225
225
If ($NoOperation) {
226
226
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
227
227
}
@@ -271,7 +271,7 @@ Function Register-ToolCacheFile {
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, only stop this function but not others.
274
+
[Boolean]$NoOperation=!(Test-GitHubActionsEnvironment-ToolCache)# When the requirements are not fulfill, use this variable to skip this function but keep continue invoke the script.
275
275
If ($NoOperation) {
276
276
Write-Error-Message 'Unable to get GitHub Actions tool cache resources!'-Category 'ResourceUnavailable'
0 commit comments