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