Skip to content

Commit

Permalink
Merge pull request #617 from gerrod3/pv-fixes3
Browse files Browse the repository at this point in the history
Fix an if condition in release workflow
  • Loading branch information
dkliban authored Mar 19, 2024
2 parents 7fa07dc + 7ee5191 commit c4408a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
echo "PYTHON_VERSION=${python_version}" >> $GITHUB_ENV
- name: Check valid Python version
if: !contains(fromJSON('["3.9", "3.10", "3.11", "3.12"]'), env.PYTHON_VERSION)
if: ${{ ! contains(fromJSON('["3.9", "3.10", "3.11", "3.12"]'), env.PYTHON_VERSION) }}
run: |
echo "Invalid Python Version (${{ env.PYTHON_VERSION }}), must be 3.9-3.12"
exit 1
Expand Down

0 comments on commit c4408a0

Please sign in to comment.