Skip to content

Commit 3344412

Browse files
authored
Fix use GITHUB_OUTPUT from deprecated set-output (#2492)
Fixes: #2491.
1 parent 10f65ab commit 3344412

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ jobs:
4848
# Get values for cache paths to be used in later steps
4949
- id: cache-paths
5050
run: |
51-
echo "::set-output name=go-cache::$(go env GOCACHE)"
52-
echo "::set-output name=go-mod-cache::$(go env GOMODCACHE)"
51+
echo "go-cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
52+
echo "go-mod-cache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
53+
shell: bash
5354

5455
- name: Cache go modules
5556
uses: actions/cache@v3

0 commit comments

Comments
 (0)