Skip to content

Commit

Permalink
explicitly build newline separated list of full path zip files
Browse files Browse the repository at this point in the history
  • Loading branch information
doebrowsk authored Oct 23, 2024
1 parent c186db0 commit d2da5ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/dotnet-build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2da5ee

Please sign in to comment.