Skip to content

Commit

Permalink
Fix Python version check
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez authored Jan 17, 2024
1 parent 2737e86 commit 64538ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ jobs:

- name: Check for Python version
run: |
echo "install_python=$(python3 -c 'import sys; print(sys.version_info < (3, 9))' || echo 'False')" >> $GITHUB_ENV
echo "install_python=$(python3 -c 'import sys; print(sys.version_info < (3, 9))' || echo 'True')" >> $GITHUB_ENV
- name: Setup Python
uses: actions/setup-python@v2
if: ${{ env.install_python }}
if: ${{ env.install_python }} == 'True'
with:
python-version: 3.9

Expand Down

0 comments on commit 64538ea

Please sign in to comment.