Skip to content

Commit 1f7fb64

Browse files
Update dotnet.yml
1 parent 2b7e313 commit 1f7fb64

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
die() {
2727
local MSG="$1"
2828
{
29-
printf 'version=%s\n'
30-
printf 'latest_tag=%s\n'
31-
printf 'project_name=%s\n'
32-
printf 'should_release=false%s\n'
29+
printf 'version=\n'
30+
printf 'latest_tag=\n'
31+
printf 'project_name=\n'
32+
printf 'should_release=false\n'
3333
} >> "$GITHUB_OUTPUT"
3434
printf '%s\n' "$MSG" >&2
3535
exit 1
@@ -69,10 +69,10 @@ jobs:
6969

7070
if [[ "$VER" =~ ^0(\.0)*$ ]]; then
7171
{
72-
printf 'version=%s\n' "$ver"
73-
printf 'latest_tag=%s\n'
74-
printf 'project_name=%s\n'
75-
printf 'should_release=false%s\n'
72+
printf 'version=%s\n' "$VAR"
73+
printf 'latest_tag=\n'
74+
printf 'project_name=%s\n' "$PROJECT_NAME"
75+
printf 'should_release=false\n'
7676
} >> "$GITHUB_OUTPUT"
7777
echo "Version is zero (no release): $VER" >&2
7878
exit 0

0 commit comments

Comments
 (0)