Skip to content

Commit

Permalink
CI: simplify conditional.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwilk committed Jul 17, 2023
1 parent a7ce238 commit 046998f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- python: '3.12-dev'
os: ubuntu-22.04
runs-on: ${{matrix.os || 'ubuntu-latest'}}
container: ${{ (startsWith(matrix.python, '2.') && 'python:2.7') || null }}
container: ${{ (matrix.python == '2.7') && 'python:2.7') || null }}
defaults:
run:
shell: bash
Expand Down

0 comments on commit 046998f

Please sign in to comment.