From a2a4bd6972e3f19ec8c1d193370c0b9e6d62633b Mon Sep 17 00:00:00 2001 From: Tim Xylon Date: Mon, 23 Jan 2023 16:36:21 +0800 Subject: [PATCH] Replace deprecated 'set-output' --- .github/workflows/debug.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 19a67500..05cfda39 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -196,7 +196,7 @@ jobs: - name: Get latest go version id: version run: | - echo ::set-output name=go_version::$(curl -s https://raw.githubusercontent.com/actions/go-versions/main/versions-manifest.json | grep -oE '"version": "[0-9]{1}.[0-9]{1,}(.[0-9]{1,})?"' | head -1 | cut -d':' -f2 | sed 's/ //g; s/"//g') + echo go_version=$(curl -s https://raw.githubusercontent.com/actions/go-versions/main/versions-manifest.json | grep -oE '"version": "[0-9]{1}.[0-9]{1,}(.[0-9]{1,})?"' | head -1 | cut -d':' -f2 | sed 's/ //g; s/"//g') >> $GITHUB_OUTPUT - name: Setup Go uses: actions/setup-go@v3 with: