@@ -251,31 +251,33 @@ jobs:
251251 if : ${{ inputs.make_release == 'true' }}
252252 run : |
253253 [System.IO.Compression.ZipFile]::CreateFromDirectory(
254- "$pwd \BuildDir",
255- "$pwd \BuildDir.zip",
254+ "${{ github.workspace }} \BuildDir",
255+ "${{ github.workspace }} \BuildDir.zip",
256256 [System.IO.Compression.CompressionLevel]::Optimal,
257257 $false
258258 )
259259 [System.IO.Compression.ZipFile]::CreateFromDirectory(
260- "$pwd \PatchableInstaller\ProcRunner\ProcRunner\bin\Release\net48",
261- "$pwd \ProcRunner.zip",
260+ "${{ github.workspace }} \PatchableInstaller\ProcRunner\ProcRunner\bin\Release\net48",
261+ "${{ github.workspace }} \ProcRunner.zip",
262262 [System.IO.Compression.CompressionLevel]::Optimal,
263263 $false
264264 )
265+ Get-ChildItem "${{ github.workspace }}" -Filter "*.zip" | Select-Object Name, Length
266+ "build_dir_zip=$(("${{ github.workspace }}/BuildDir.zip") -replace '\\','/')" >> $env:GITHUB_OUTPUT
267+ "proc_runner_zip=$(("${{ github.workspace }}/ProcRunner.zip") -replace '\\','/')" >> $env:GITHUB_OUTPUT
268+
265269
266270 - name : Create Release and Upload artifacts
267271 if : ${{ inputs.make_release == 'true' }}
268- uses : softprops/action-gh-release@v1
272+ uses : softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836
269273 with :
270274 tag_name : build-${{ env.RELEASE_BASE_BUILD_NUMBER }}
271275 name : " FieldWorks Base Build #${{ env.RELEASE_BASE_BUILD_NUMBER }}"
272276 draft : false
273277 prerelease : true
274278 files : |
275- ${{ github.workspace }}/BuildDir.zip
276- ${{ github.workspace }}/ProcRunner.zip
277- ${{ steps.stage_installers.outputs.offline_exe }}
278- ${{ steps.stage_installers.outputs.online_exe }}
279+ ${{ steps.prepare_paths.outputs.build_dir_zip }}
280+ ${{ steps.prepare_paths.outputs.proc_runner_zip }}
279281
280282 - name : Upload Build Logs
281283 uses : actions/upload-artifact@v4
0 commit comments