diff --git a/.github/workflows/dotnet-build-and-release.yml b/.github/workflows/dotnet-build-and-release.yml index b23d2e3..2e31f81 100644 --- a/.github/workflows/dotnet-build-and-release.yml +++ b/.github/workflows/dotnet-build-and-release.yml @@ -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<> GITHUB_ENV + echo $releaseArtifacts >> GITHUB_ENV + echo 'EOF' >> GITHUB_ENV - name: Check for manifest if: success() && env.CREATE_RELEASE == 'True' && inputs.integration_type == 'orchestrator'