use new way of using outputs
This commit is contained in:
4
.github/workflows/binary-build.yml
vendored
4
.github/workflows/binary-build.yml
vendored
@@ -17,9 +17,9 @@ jobs:
|
||||
- id: set_version
|
||||
run: |
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
|
||||
echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
||||
else
|
||||
echo "::set-output name=version::latest"
|
||||
echo "version=latest" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user