use new way of using outputs

This commit is contained in:
Ben Sarmiento
2023-10-28 22:39:31 +02:00
parent 523ef92dac
commit 1084465ccd

View File

@@ -17,9 +17,9 @@ jobs:
- id: set_version - id: set_version
run: | run: |
if [[ $GITHUB_REF == refs/tags/* ]]; then if [[ $GITHUB_REF == refs/tags/* ]]; then
echo "::set-output name=version::${GITHUB_REF#refs/tags/}" echo "version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
else else
echo "::set-output name=version::latest" echo "version=latest" >> $GITHUB_OUTPUT
fi fi
build: build: