Skip to content

Commit

Permalink
Fix use GITHUB_OUTPUT from deprecated set-output (#2492)
Browse files Browse the repository at this point in the history
Fixes: #2491.
  • Loading branch information
k1rnt committed Oct 12, 2022
1 parent 10f65ab commit 3344412
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Expand Up @@ -48,8 +48,9 @@ jobs:
# Get values for cache paths to be used in later steps
- id: cache-paths
run: |
echo "::set-output name=go-cache::$(go env GOCACHE)"
echo "::set-output name=go-mod-cache::$(go env GOMODCACHE)"
echo "go-cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
echo "go-mod-cache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
shell: bash

- name: Cache go modules
uses: actions/cache@v3
Expand Down

0 comments on commit 3344412

Please sign in to comment.