Skip to content

Commit

Permalink
don't treat 3.10 as 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCa committed Oct 12, 2023
1 parent 3fe606b commit 39c7487
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
run: |
if [[ "${{ github.event_name }}" == 'push' && "${{ github.ref }}" == 'refs/heads/master' ]]; then
# Push to master branch
echo "matrix=[3.7, 3.9, 3.10, 3.11]" >> $GITHUB_OUTPUT
echo 'matrix=["3.7", "3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
elif [[ "${{ github.event_name }}" == 'pull_request' && "${{ github.event.pull_request.base.ref }}" == 'master' ]]; then
# PR to master branch
echo "matrix=[3.7, 3.9, 3.10, 3.11]" >> $GITHUB_OUTPUT
echo 'matrix=["3.7", "3.9", "3.10", "3.11"]' >> $GITHUB_OUTPUT
else
echo "matrix=[3.9]" >> $GITHUB_OUTPUT
echo 'matrix=["3.9"]' >> $GITHUB_OUTPUT
fi
build:
Expand Down

0 comments on commit 39c7487

Please sign in to comment.