Skip to content

Commit c4408a0

Browse files
authored
Merge pull request #617 from gerrod3/pv-fixes3
Fix an if condition in release workflow
2 parents 7fa07dc + 7ee5191 commit c4408a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
echo "PYTHON_VERSION=${python_version}" >> $GITHUB_ENV
6262
6363
- name: Check valid Python version
64-
if: !contains(fromJSON('["3.9", "3.10", "3.11", "3.12"]'), env.PYTHON_VERSION)
64+
if: ${{ ! contains(fromJSON('["3.9", "3.10", "3.11", "3.12"]'), env.PYTHON_VERSION) }}
6565
run: |
6666
echo "Invalid Python Version (${{ env.PYTHON_VERSION }}), must be 3.9-3.12"
6767
exit 1

0 commit comments

Comments
 (0)