Skip to content

Commit

Permalink
Switch away from ::set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed May 18, 2024
1 parent c309926 commit a091259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
shell: bash
run: |
if [ "${GITHUB_REF#refs/tags/v}" != "$GITHUB_REF" ]; then
echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
echo "version=${GITHUB_REF#refs/tags/v}" >> "$GITHUB_OUTPUT"
else
echo ::set-output name=build_tag::ci.${GITHUB_RUN_NUMBER}
echo "build_tag=ci.${GITHUB_RUN_NUMBER}" >> "$GITHUB_OUTPUT"
fi
- name: Build
Expand Down

0 comments on commit a091259

Please sign in to comment.