Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
set-output
1 parent 1f600fc commit e470162Copy full SHA for e470162
.github/workflows/ci.yaml
@@ -254,14 +254,11 @@ jobs:
254
with:
255
go-version: "~1.20"
256
257
- # Sadly the new "set output" syntax (of writing env vars to
258
- # $GITHUB_OUTPUT) does not work on both powershell and bash so we use the
259
- # deprecated syntax here.
260
- name: Echo Go Cache Paths
261
id: go-cache-paths
262
run: |
263
- echo "::set-output name=GOCACHE::$(go env GOCACHE)"
264
- 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
265
266
- name: Go Build Cache
267
uses: actions/cache@v3
0 commit comments