Skip to content

Commit 50fd563

Browse files
Merge pull request #126 from hologram-io/chore/fix-github-publishing-pipeline
Authenticate with twine via api token not username and password
2 parents 20f6795 + 4b8156e commit 50fd563

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ jobs:
1919
run: |
2020
python -m pip install --upgrade pip
2121
pip install setuptools wheel twine
22+
2223
- name: Build and publish
2324
env:
24-
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
25-
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
25+
TWINE_USERNAME: "__token__"
26+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2627
run: |
2728
python setup.py sdist bdist_wheel
28-
twine upload dist/*
29+
twine upload dist/*

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.10.2
1+
0.10.3

0 commit comments

Comments
 (0)