@@ -145,6 +145,8 @@ jobs:
145145 Set-PSDebug -Trace 1
146146
147147 $PkgDir = Join-Path docker $Env:RUNNER_OS # RUNNER_OS is camelcase
148+ Write-Host "PkgDir = $PkgDir"
149+ New-Item -ItemType Directory -Path $PkgDir
148150 echo "package-path=$PkgDir" >> $Env:GITHUB_OUTPUT
149151
150152 $SourceFileName = "DevolutionsGateway_$($Env:RUNNER_OS)_${{ needs.preflight.outputs.version }}_${{ matrix.arch }}"
@@ -155,16 +157,13 @@ jobs:
155157 } else {
156158 $TargetFileName = "devolutions-gateway"
157159 }
158-
159160 Write-Host "SourceFileName = $SourceFileName"
160161 Write-Host "TargetFileName = $TargetFileName"
161162
162163 $SourcePath = Get-ChildItem -Recurse -Filter $SourceFileName -File -Path devolutions-gateway
163- Write-Host "SourcePath = $SourcePath"
164-
165164 $TargetPath = Join-Path $PkgDir $TargetFileName
165+ Write-Host "SourcePath = $SourcePath"
166166 Write-Host "TargetPath = $TargetPath"
167-
168167 Copy-Item -Path $SourcePath -Destination $TargetPath
169168
170169 if ($Env:RUNNER_OS -eq "Linux") {
@@ -179,10 +178,14 @@ jobs:
179178
180179 $XmfSourcePath = Get-ChildItem -Recurse -Filter $XmfFileName -File -Path native-libs
181180 $XmfTargetPath = Join-Path $PkgDir $XmfFileName
181+ Write-Host "XmfSourcePath = $XmfSourcePath"
182+ Write-Host "XmfTargetPath = $XmfTargetPath"
182183 Copy-Item -Path $XmfSourcePath -Destination $XmfTargetPath
183184
184185 $WebAppArchive = Get-ChildItem -Recurse -Filter "devolutions_gateway_webapp_*.tar.gz" | Select-Object -First 1
185186 $TargetPath = Join-Path $PkgDir "webapp" "client"
187+ Write-Host "WebAppArchive = $WebAppArchive"
188+ Write-Host "TargetPath = $TargetPath"
186189 New-Item -ItemType Directory -Path $TargetPath
187190 tar -xvzf $WebAppArchive.FullName -C $TargetPath --strip-components=1
188191
0 commit comments