Skip to content

Commit

Permalink
Update PYTHON_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
xioTechnologies committed Jan 30, 2025
1 parent 322ca42 commit 81a20a1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
python -m pip install twine
- if: matrix.target[0] == 'ubuntu-latest'
name: Set up QEMU
Expand Down Expand Up @@ -73,7 +72,6 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install numpy
python -m pip install twine
- name: Build sdist
run: python setup.py sdist
Expand All @@ -97,10 +95,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install twine
python -m pip install twine==6.0.1
# use twine v6.0.1 because bug in latest version (v6.1.0)

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

0 comments on commit 81a20a1

Please sign in to comment.