Skip to content

Commit 71a88a5

Browse files
committed
Remove usage of set-output from our GitHub Actions workflow
GitHub has deprecated the set-output command per: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ This updates the GitHub Actions workflow to use the newly preferred method to set the output for a job's step.
1 parent a8bcddd commit 71a88a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Lookup Go cache directory
3434
id: go-cache
3535
run: |
36-
echo "::set-output name=dir::$(go env GOCACHE)"
36+
echo "dir=$(go env GOCACHE)" >> $GITHUB_OUTPUT
3737
- uses: actions/cache@v3
3838
env:
3939
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\

0 commit comments

Comments
 (0)