ci: fix a deprecation warning (#435)

> args
> The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Signed-off-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>

Signed-off-by: Shunsuke Suzuki <suzuki.shunsuke.1989@gmail.com>
This commit is contained in:
Shunsuke Suzuki
2023-01-06 23:14:29 +09:00
committed by GitHub
parent 452dcfac5f
commit a4d4074bf6

View File

@@ -29,7 +29,7 @@ jobs:
fetch-depth: 0
- id: ldflags
run: |
echo "::set-output name=version::$(git describe --tags --always --dirty | cut -c2-)"
echo "version=$(git describe --tags --always --dirty | cut -c2-)" >> "$GITHUB_OUTPUT"
builder:
needs: [args]