File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 36
36
- name : Install Python dependencies
37
37
run : |
38
38
python -m pip install --upgrade pip
39
- python -m pip install twine
40
39
41
40
- if : matrix.target[0] == 'ubuntu-latest'
42
41
name : Set up QEMU
73
72
run : |
74
73
python -m pip install --upgrade pip
75
74
python -m pip install numpy
76
- python -m pip install twine
77
75
78
76
- name : Build sdist
79
77
run : python setup.py sdist
@@ -97,10 +95,11 @@ jobs:
97
95
- name : Install dependencies
98
96
run : |
99
97
python -m pip install --upgrade pip
100
- python -m pip install twine
98
+ python -m pip install twine==6.0.1
99
+ # use twine v6.0.1 because bug in latest version (v6.1.0)
101
100
102
101
- name : Publish package
103
102
env :
104
103
TWINE_USERNAME : __token__
105
- TWINE_PASSWORD : ${{ secrets.TOKEN }}
104
+ TWINE_PASSWORD : ${{ secrets.PYTHON_TOKEN }}
106
105
run : python -m twine upload --verbose --repository pypi artifacts/* --skip-existing
You can’t perform that action at this time.
0 commit comments