Skip to content

Commit a091259

Browse files
committed
Switch away from ::set-output
1 parent c309926 commit a091259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
shell: bash
2424
run: |
2525
if [ "${GITHUB_REF#refs/tags/v}" != "$GITHUB_REF" ]; then
26-
echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
26+
echo "version=${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
2727
else
28-
echo ::set-output name=build_tag::ci.${GITHUB_RUN_NUMBER}
28+
echo "build_tag=ci.${GITHUB_RUN_NUMBER}" >> "$GITHUB_OUTPUT"
2929
fi
3030
3131
- name: Build

0 commit comments

Comments
 (0)