Skip to content

Commit

Permalink
write multiline release_artifacts value into GITHUB_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
doebrowsk authored Oct 23, 2024
1 parent d2da5ee commit e7a6a95
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 @@ -128,7 +128,11 @@ jobs:
foreach ($zipFile in $buildFiles) {
$releaseArtifacts = $releaseArtifacts + $outputDir + $zipFile + [Environment]::NewLine
}
echo "release_artifacts=$releaseArtifacts" | Out-File $env:GITHUB_ENV -Encoding utf8 -Append
echo "release_artifacts: $releaseArtifacts"
echo "Writing in as multiline github env variable"
echo 'release_artifacts<<EOF' >> GITHUB_ENV
echo $releaseArtifacts >> GITHUB_ENV
echo 'EOF' >> GITHUB_ENV
- name: Check for manifest
if: success() && env.CREATE_RELEASE == 'True' && inputs.integration_type == 'orchestrator'
Expand Down

0 comments on commit e7a6a95

Please sign in to comment.