From d2da5ee04ebb92d1d3e4892a0514505dfc0e90e9 Mon Sep 17 00:00:00 2001 From: Macey Dobrowsky <11599974+doebrowsk@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:58:43 -0400 Subject: [PATCH] explicitly build newline separated list of full path zip files --- .github/workflows/dotnet-build-and-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet-build-and-release.yml b/.github/workflows/dotnet-build-and-release.yml index 5e0df47..b23d2e3 100644 --- a/.github/workflows/dotnet-build-and-release.yml +++ b/.github/workflows/dotnet-build-and-release.yml @@ -123,7 +123,11 @@ jobs: Compress-Archive -Path $sourcePath -DestinationPath $zipPath -Force -Verbose } Get-ChildItem -File -Path $outputDir - $releaseArtifacts = (Get-ChildItem -File -Path $outputDir).fullname + $buildFiles = Get-ChildItem -File -Path $outputDir -Name + $releaseArtifacts + foreach ($zipFile in $buildFiles) { + $releaseArtifacts = $releaseArtifacts + $outputDir + $zipFile + [Environment]::NewLine + } echo "release_artifacts=$releaseArtifacts" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append - name: Check for manifest