From 8e7ee20b2b8108ed7edc73eabae42edec04f9279 Mon Sep 17 00:00:00 2001 From: Igor Abade Date: Wed, 24 Jul 2024 08:59:22 -0300 Subject: [PATCH] Fix env var name --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4247afaf..0c57981b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 }}