File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -132,10 +132,13 @@ jobs:
132
132
- name : Setup Python version (3+)
133
133
if : ${{ matrix.py3from }}
134
134
run : |
135
- sed -i 's/^python-requires = .*/python-requires = ">=${{ matrix.py3from }},<${{ matrix.py3to }}"/' pyproject.toml
136
- tags=$(for i in $(seq ${${{ matrix.py3from }}//./} $(( ${${{ matrix.py3to }}//./} - 1)) ); do echo -n "py$i."; done | sed 's/\.$//')
135
+ FROM=${{ matrix.py3from }}
136
+ TO=${{ matrix.py3to }}
137
+ sed -i 's/^python-requires = .*/python-requires = "$FROM>=,<$TO"/' pyproject.toml
138
+ tags=$(for i in $(seq ${FROM//./} $(( ${TO//./} - 1)) ); do echo -n "py$i."; done | sed 's/\.$//')
137
139
echo "[tool.distutils.bdist_wheel]" >> pyproject.toml
138
140
echo "python-tag = \"$tags\"" >> pyproject.toml
141
+ echo pyproject.toml
139
142
140
143
- name : Build package
141
144
run : python -m build
You can’t perform that action at this time.
0 commit comments