Skip to content

Commit

Permalink
Fix env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
igoravl committed Jul 24, 2024
1 parent fecbdad commit 8e7ee20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
echo $fileName
$releaseNotes = (Get-Content $fileName -Encoding UTF8 | Select-Object -Skip 4) -join '%0A'
echo $releaseNotes
echo "RELEASE_NOTES=$releaseNotes" >> $GITHUB_OUTPUT
echo "RELEASE_NOTES=$releaseNotes" >> $env:GITHUB_OUTPUT
- name: Create Draft Release
id: create_release
shell: pwsh
Expand Down Expand Up @@ -151,8 +151,8 @@ jobs:
$rel = Get-GitHubRelease `
| Where-Object { ($_.Draft -eq $true) -and ($_.Name -eq "Release $($env:BUILD_NAME)") }
Set-GitHubRelease -Release $rel.id -Draft:$false
echo "RELEASE_URL=$($rel.html_url)" >> $GITHUB_OUTPUT
echo "RELEASE_TAG=$($env:BUILD_NAME.Replace('+', '%2B'))" >> $GITHUB_OUTPUT
echo "RELEASE_URL=$($rel.html_url)" >> $env:GITHUB_OUTPUT
echo "RELEASE_TAG=$($env:BUILD_NAME.Replace('+', '%2B'))" >> $env:GITHUB_OUTPUT
outputs:
BUILD_NAME: ${{ needs.Staging.outputs.BUILD_NAME }}
RELEASE_NOTES: ${{ needs.Staging.outputs.RELEASE_NOTES }}
Expand Down

0 comments on commit 8e7ee20

Please sign in to comment.