We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 695752f commit 4c96fb4Copy full SHA for 4c96fb4
1 file changed
scripts/publish.ps1
@@ -1,24 +1,6 @@
1
[CmdletBinding()]
2
param()
3
4
-#region Install dependencies
5
-$retryCount = 5
6
-$retryDelay = 10
7
-for ($i = 0; $i -lt $retryCount; $i++) {
8
- try {
9
- Install-PSResource -Name 'PSSemVer' -TrustRepository -Repository PSGallery
10
- break
11
- } catch {
12
- Write-Warning "Installation of PSSemVer failed with error: $_"
13
- if ($i -eq $retryCount - 1) {
14
- throw
15
- }
16
- Write-Warning "Retrying in $retryDelay seconds..."
17
- Start-Sleep -Seconds $retryDelay
18
19
-}
20
-#endregion Install dependencies
21
-
22
#region Load inputs
23
$env:GITHUB_REPOSITORY_NAME = $env:GITHUB_REPOSITORY -replace '.+/'
24
0 commit comments