From b8a96c568abdc764c8a8ec9f40c649d2328235e6 Mon Sep 17 00:00:00 2001 From: Anurag Date: Sun, 1 Oct 2023 10:09:59 +0530 Subject: [PATCH] update output syntax in go workflow set-output syntax was deprecated few months back in GitHub and this commit updates the workflow manifest with the current supported syntax. Signed-off-by: Anurag --- .github/actions/setup-go/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-go/action.yaml b/.github/actions/setup-go/action.yaml index 9365cd211..3f47238d5 100644 --- a/.github/actions/setup-go/action.yaml +++ b/.github/actions/setup-go/action.yaml @@ -12,8 +12,8 @@ runs: - id: go-cache-paths shell: bash run: | - echo "::set-output name=go-build::$(go env GOCACHE)" - echo "::set-output name=go-mod::$(go env GOMODCACHE)" + echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT + echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT - name: Go Mod Cache uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 with: