diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 33cb0ee4e2b53..cc8043204835b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -254,14 +254,11 @@ jobs: with: go-version: "~1.20" - # Sadly the new "set output" syntax (of writing env vars to - # $GITHUB_OUTPUT) does not work on both powershell and bash so we use the - # deprecated syntax here. - name: Echo Go Cache Paths id: go-cache-paths run: | - echo "::set-output name=GOCACHE::$(go env GOCACHE)" - echo "::set-output name=GOMODCACHE::$(go env GOMODCACHE)" + echo "GOCACHE=$(go env GOCACHE)" >> ${{ runner.os == 'Windows' && '$env:' || '$' }}GITHUB_OUTPUT + echo "GOMODCACHE=$(go env GOMODCACHE)" >> ${{ runner.os == 'Windows' && '$env:' || '$' }}GITHUB_OUTPUT - name: Go Build Cache uses: actions/cache@v3
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: