Skip to content

Commit 9b99995

Browse files
committed
Simplify user/password pass to twine
1 parent bde9146 commit 9b99995

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/release.yml

+1-11
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,4 @@ jobs:
4949
env:
5050
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
5151
run: |
52-
echo <<EOF > ./pypirc
53-
[distutils]
54-
index-servers =
55-
pypi
56-
57-
[pypi]
58-
username = __token__
59-
password = ${PYPI_API_TOKEN}
60-
EOF
61-
twine upload -c ./pypirc dist/*
62-
rm -rf ./pypirc dist/
52+
twine upload --non-interactive -u __token__ -p "${PYPI_API_TOKEN}" dist/*

0 commit comments

Comments
 (0)