Skip to content

Commit

Permalink
target $env:GITHUB_ENV when using pwsh
Browse files Browse the repository at this point in the history
  • Loading branch information
doebrowsk authored Oct 23, 2024
1 parent 5355e85 commit 3a4ab0a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/dotnet-build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,9 @@ jobs:
}
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
echo "Debug check of github env: ${GITHUB_ENV}"
echo "release_artifacts<<EOF" >> $env:GITHUB_ENV
echo "$releaseArtifacts" >> $env:GITHUB_ENV
echo "EOF" >> $env:GITHUB_ENV
- name: Check for manifest
if: success() && env.CREATE_RELEASE == 'True' && inputs.integration_type == 'orchestrator'
Expand Down

0 comments on commit 3a4ab0a

Please sign in to comment.