Skip to content

Commit

Permalink
Clean up workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Sep 18, 2024
1 parent 5c69715 commit adfed66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
PYTHON_VERSION="${{ inputs.python-version }}"
if [ -z "${{ inputs.python-version }}" ]; then
if [ -z "$PYTHON_VERSION" ]; then
PYTHON_VERSION=$(cat pyproject.toml | grep "requires-python" | grep -Eo "[0-9]+\.[0-9]+")
fi
Expand Down

0 comments on commit adfed66

Please sign in to comment.