Skip to content

Commit 890f0c9

Browse files
Update PYTHON_TOKEN
1 parent 322ca42 commit 890f0c9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- name: Install Python dependencies
3737
run: |
3838
python -m pip install --upgrade pip
39-
python -m pip install twine
4039
4140
- if: matrix.target[0] == 'ubuntu-latest'
4241
name: Set up QEMU
@@ -73,7 +72,6 @@ jobs:
7372
run: |
7473
python -m pip install --upgrade pip
7574
python -m pip install numpy
76-
python -m pip install twine
7775
7876
- name: Build sdist
7977
run: python setup.py sdist
@@ -97,10 +95,11 @@ jobs:
9795
- name: Install dependencies
9896
run: |
9997
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)
101100

102101
- name: Publish package
103102
env:
104103
TWINE_USERNAME: __token__
105-
TWINE_PASSWORD: ${{ secrets.TOKEN }}
104+
TWINE_PASSWORD: ${{ secrets.PYTHON_TOKEN }}
106105
run: python -m twine upload --verbose --repository pypi artifacts/* --skip-existing

0 commit comments

Comments
 (0)