Skip to content

Commit 6480ec2

Browse files
[HOTFIX] 🙈 Oops, fix inverted conditional logic from previous change (- WIP #130 -)
Changes in file .github/actions/test-reporter-upload/action.yml: * swap "if empty" conditionals from previous change
1 parent d072691 commit 6480ec2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/test-reporter-upload/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ runs:
116116
fi
117117
printf "%s\n" "PYTHON_VERSION=${PYTHON_VERSION}" >> "$GITHUB_ENV"
118118
if [[ -z $PYTHON_VERSION ]] ; then
119-
printf "::debug::%s\n" "Found Python version ${PYTHON_VERSION}"
120-
else
121119
printf "::debug::%s\n" "Missing Python version"
120+
else
121+
printf "::debug::%s\n" "Found Python version ${PYTHON_VERSION}"
122122
fi
123123
- name: "Identify Operating System"
124124
id: output_os
@@ -134,10 +134,10 @@ runs:
134134
printf "os=%s\n" "${OS:-unknown}" >> "$GITHUB_OUTPUT"
135135
fi
136136
if [[ -z $OS ]] ; then
137-
printf "::debug::%s\n" "Identified ${OS}"
138-
else
139137
printf "::error file=.github/actions/test-reporter-upload/action.yml::%s\n" "Invalid OS"
140138
exit 1
139+
else
140+
printf "::debug::%s\n" "Identified ${OS}"
141141
fi
142142
printf "%s\n" "OS=${OS}" >> "$GITHUB_ENV"
143143
- name: "Prepare Artifact Name"

0 commit comments

Comments
 (0)