Skip to content

Commit 923c17b

Browse files
committed
chore(CI): Avoid using deprecated '::set-output' command in GitHub Actions
[1] https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
1 parent bb0479a commit 923c17b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
id: golangci_lint_version
2626
run: |
2727
golangCiLintVersion=$(grep '^golangci-lint ' .tool-versions | awk '{print $2}')
28-
echo "::set-output name=golangCiLintVersion::${golangCiLintVersion}"
28+
echo "golangCiLintVersion=${golangCiLintVersion}" >> $GITHUB_OUTPUT
2929
3030
- name: golangci-lint
3131
uses: golangci/[email protected]

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id: golang_version
1717
run: |
1818
golangVersion=$(grep '^golang ' .tool-versions | awk '{print $2}')
19-
echo "::set-output name=golangVersion::${golangVersion}"
19+
echo "golangVersion=${golangVersion}" >> $GITHUB_OUTPUT
2020
2121
- uses: cli/gh-extension-precompile@v1
2222
with:

0 commit comments

Comments
 (0)