From 74fe96bb50b17c494c79871345424e19aea8b90a Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Mon, 6 Mar 2023 10:10:19 +0100 Subject: [PATCH] CI: Stop using deprecated "set-output". --- .github/workflows/lint.yml | 6 +++--- .github/workflows/tarball.yml | 6 +++--- .github/workflows/test.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7e1e545..6dbdbf7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -30,9 +30,9 @@ jobs: - id: go-cache-paths run: | - echo "::set-output name=go-build::$(go env GOCACHE)" - echo "::set-output name=go-mod::$(go env GOMODCACHE)" - echo "::set-output name=go-version::$(go version | cut -d ' ' -f 3)" + echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT + echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT + echo "go-version=$(go version | cut -d ' ' -f 3)" >> $GITHUB_OUTPUT - name: Go build cache uses: actions/cache@v3 diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 4b176e9..87f0ff8 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -36,9 +36,9 @@ jobs: - id: go-cache-paths run: | - echo "::set-output name=go-build::$(go env GOCACHE)" - echo "::set-output name=go-mod::$(go env GOMODCACHE)" - echo "::set-output name=go-version::$(go version | cut -d ' ' -f 3)" + echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT + echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT + echo "go-version=$(go version | cut -d ' ' -f 3)" >> $GITHUB_OUTPUT - name: Go build cache uses: actions/cache@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 954bcf1..afc4651 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,9 +38,9 @@ jobs: - id: go-cache-paths run: | - echo "::set-output name=go-build::$(go env GOCACHE)" - echo "::set-output name=go-mod::$(go env GOMODCACHE)" - echo "::set-output name=go-version::$(go version | cut -d ' ' -f 3)" + echo "go-build=$(go env GOCACHE)" >> $GITHUB_OUTPUT + echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT + echo "go-version=$(go version | cut -d ' ' -f 3)" >> $GITHUB_OUTPUT - name: Go build cache uses: actions/cache@v3