8484 env :
8585 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8686 run : |
87+ Set-PSDebug -Trace 1
88+
8789 $Output = (gh release list --repo $Env:GITHUB_REPOSITORY) | Out-String
8890 $Releases = ( $Output -split '\r?\n' ).Trim()
8991 $Versions = ForEach($Release in $Releases) {
@@ -140,6 +142,8 @@ jobs:
140142 id : prepare-artifacts
141143 shell : pwsh
142144 run : |
145+ Set-PSDebug -Trace 1
146+
143147 $PkgDir = Join-Path docker $Env:RUNNER_OS # RUNNER_OS is camelcase
144148 echo "package-path=$PkgDir" >> $Env:GITHUB_OUTPUT
145149
@@ -183,6 +187,8 @@ jobs:
183187 shell : pwsh
184188 working-directory : ${{ steps.prepare-artifacts.outputs.package-path }}
185189 run : |
190+ Set-PSDebug -Trace 1
191+
186192 $ImageName = "devolutions/devolutions-gateway:${{ needs.preflight.outputs.version }}-${{ matrix.base-image }}"
187193 if ("${{ matrix.base-image }}" -Eq "lts-nanoserver-ltsc2022") {
188194 docker build --build-arg FROM_IMAGE=mcr.microsoft.com/powershell:lts-nanoserver-ltsc2022 -t "$ImageName" .
@@ -196,6 +202,8 @@ jobs:
196202 shell : pwsh
197203 working-directory : ${{ steps.prepare-artifacts.outputs.package-path }}
198204 run : |
205+ Set-PSDebug -Trace 1
206+
199207 echo ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} | docker login -u devolutionsbot --password-stdin
200208 $DockerPushCmd = 'docker push ${{ steps.build-container.outputs.image-name }}'
201209 Write-Host $DockerPushCmd
@@ -237,6 +245,8 @@ jobs:
237245 env :
238246 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
239247 run : |
248+ Set-PSDebug -Trace 1
249+
240250 $Version = "${{ needs.preflight.outputs.version }}"
241251 $HashPath = 'checksums'
242252 $Files = Get-ChildItem -Recurse -File -Exclude 'CHANGELOG.md', '*.dll' | % { Get-FileHash -Algorithm SHA256 $_.FullName }
@@ -283,6 +293,8 @@ jobs:
283293 - name : Publish PowerShell module
284294 shell : pwsh
285295 run : |
296+ Set-PSDebug -Trace 1
297+
286298 $Archive = Get-ChildItem -Recurse -Filter "*-ps-*.zip" -File
287299 Expand-Archive -Path $Archive -DestinationPath 'PowerShell'
288300
@@ -340,6 +352,8 @@ jobs:
340352 id : prepare
341353 shell : pwsh
342354 run : |
355+ Set-PSDebug -Trace 1
356+
343357 $destinationFolder = "${{ runner.temp }}/artifacts"
344358 $version="${{ needs.preflight.outputs.version }}"
345359 # Note that ".0" is appended here (required by release tooling downstream)
@@ -399,6 +413,8 @@ jobs:
399413 id : prepare
400414 shell : pwsh
401415 run : |
416+ Set-PSDebug -Trace 1
417+
402418 $destinationFolder = "${{ runner.temp }}/artifacts"
403419 $version="${{ needs.preflight.outputs.version }}"
404420 # Note that ".0" is appended here (required by release tooling downstream)
0 commit comments