From 6a37a5b4a05d7c48d7c3e408a25e76bfb37b2cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Glauber=20Magalh=C3=A3es?= Date: Sun, 14 Jan 2024 01:31:44 -0300 Subject: [PATCH] refactor actions --- .github/workflows/python-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 7ef577d..7dc4fae 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -23,6 +23,8 @@ jobs: pip install setuptools wheel twine - name: Build and publish + env: + PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }} run: | python setup.py sdist - twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} --verbose + twine upload dist/* -u __token__ -p $PYPI_API_TOKEN --verbose