From bf801f56031bd590c6c4171fc88bd58ae22615cf Mon Sep 17 00:00:00 2001 From: Zachary Date: Thu, 23 Jan 2025 04:37:05 +0100 Subject: [PATCH] Add PYPI_TOKEN environment variable for PyPI publishing workflow --- .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 72d1d5c..5b3bd1a 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -41,5 +41,7 @@ jobs: path: dist/ - name: Publish release distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 + env: + PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} with: - packages-dir: dist/ + packages-dir: dist/ \ No newline at end of file