Skip to content

Commit 3b2d814

Browse files
authored
Update publish-release.yml
1 parent e57253b commit 3b2d814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
cat pyproject.toml
120120
121121
- name: Setup Python version (2.7)
122-
if: matrix.python == "2.7"
122+
if: ${{ !matrix.py3from }}
123123
run: |
124124
sed -i 's/^python-requires = .*/python-requires = ">=2.7,<3.1"/' pyproject.toml
125125
echo "[tool.distutils.bdist_wheel]" >> pyproject.toml

0 commit comments

Comments
 (0)