From d25937e58143b235e7b83ef004d0f522eae77bfd Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Fri, 28 Oct 2022 17:34:40 +0200 Subject: [PATCH] Replace var $GITHUB_OUTPUT to $env:GITHUB_OUTPUT (#58) --- .github/workflows/get-tools-new-versions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/get-tools-new-versions.yml b/.github/workflows/get-tools-new-versions.yml index b857ad4..1e9349b 100644 --- a/.github/workflows/get-tools-new-versions.yml +++ b/.github/workflows/get-tools-new-versions.yml @@ -51,7 +51,7 @@ jobs: -ReleasesUrl ${{ matrix.tool.releases-url }} ` -FilterParameter ${{ matrix.tool.filter-parameter }} ` -FilterArch ${{ matrix.tool.filter-arch }} - echo "versions-output=$versionsOutput" >> $GITHUB_OUTPUT + echo "versions-output=$versionsOutput" >> $env:GITHUB_OUTPUT - name: Check versions if: steps.get-new-tool-versions.outputs.versions-output == '' run: Write-Host "No new versions found" @@ -79,7 +79,7 @@ jobs: $failedJobs = (Invoke-RestMethod -Uri $jobs_url).jobs | Where-Object conclusion -eq "failure" | ForEach-Object {"\n\t" + $_.name.split(" ")[-1] + ": $($_.html_url)"} - echo "failed-jobs=$failedJobs" >> $GITHUB_OUTPUT + echo "failed-jobs=$failedJobs" >> $env:GITHUB_OUTPUT - uses: ./.github/actions/send-slack-notification name: Send Slack notification about failure with: