From 8dfc547cf6adc8d45769809db80f5b254b1db304 Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Sun, 13 Nov 2022 22:37:56 -0800 Subject: [PATCH] Remove set-output GitHub action command Removes deprecated set-output GitHub action command. Signed-off-by: Austin Vazquez --- .github/workflows/linux.yml | 4 ++-- .github/workflows/static.yml | 12 ++++++------ .github/workflows/windows.yml | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 13efe56a20f..dd9fde5b9d8 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -24,8 +24,8 @@ jobs: echo "invalid GO version" exit 1 fi - echo "::set-output name=GO_VERSION::$go_version" - - uses: actions/setup-go@v2 + echo "GO_VERSION=$go_version" >> $GITHUB_OUTPUT + - uses: actions/setup-go@v3 with: go-version: ${{ steps.get-go-version.outputs.GO_VERSION }} - uses: actions/checkout@v2 diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 497eee78a38..73b29951d6e 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -24,8 +24,8 @@ jobs: echo "invalid GO version" exit 1 fi - echo "::set-output name=GO_VERSION::$go_version" - - uses: actions/setup-go@v2 + echo "GO_VERSION=$go_version" >> $GITHUB_OUTPUT + - uses: actions/setup-go@v3 with: go-version: ${{ steps.get-go-version.outputs.GO_VERSION }} - uses: actions/checkout@v2 @@ -60,8 +60,8 @@ jobs: echo "invalid GO version" exit 1 fi - echo "::set-output name=GO_VERSION::$go_version" - - uses: actions/setup-go@v2 + echo "GO_VERSION=$go_version" >> $GITHUB_OUTPUT + - uses: actions/setup-go@v3 with: go-version: ${{ steps.get-go-version.outputs.GO_VERSION }} - uses: actions/checkout@v2 @@ -96,8 +96,8 @@ jobs: echo "invalid GO version" exit 1 fi - echo "::set-output name=GO_VERSION::$go_version" - - uses: actions/setup-go@v2 + echo "GO_VERSION=$go_version" >> $GITHUB_OUTPUT + - uses: actions/setup-go@v3 with: go-version: ${{ steps.get-go-version.outputs.GO_VERSION }} - uses: actions/checkout@v2 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a1911b212d5..eb1edae4344 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -23,8 +23,8 @@ jobs: echo "invalid GO version" exit 1 } - Write-Output "::set-output name=GO_VERSION_WINDOWS::$go_version_win" - - uses: actions/setup-go@v2 + Write-Output "GO_VERSION_WINDOWS=$go_version_win" >> $GITHUB_OUTPUT + - uses: actions/setup-go@v3 with: go-version: ${{ steps.get-go-version.outputs.GO_VERSION_WINDOWS }} - uses: actions/checkout@v2