Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanwsr committed Nov 16, 2022
1 parent 5d27d6f commit 01fa43f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ jobs:
- name: Build
run: |
python -m build
echo "[disutils]\nindex-servers=pypi\n[pypi]\nusername=__token__\npassword=${{ secrets.SECRETS }}" > ~/.pypirc
echo "[disutils]" > ~/.pypirc
echo "index-servers=pypi" >> ~/.pypirc
echo "[pypi]" >> ~/.pypirc
echo "username=__token__" >> ~/.pypirc
echo "password=${{ secrets.SECRETS }}" >> ~/.pypirc
cat ~/.pypirc
twine upload dist/* --config-file ~/.pypirc --skip-existing
#- name: Upload
Expand Down

0 comments on commit 01fa43f

Please sign in to comment.