From 01fa43f16e10c00021a62d0cb6c9180e0e8f464e Mon Sep 17 00:00:00 2001 From: hebrewsnabla Date: Wed, 16 Nov 2022 21:05:24 +0800 Subject: [PATCH] fix workflow --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d94028..8548a1c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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