From e07ad4c9eee6d0aa0f80441c87bb2ce5380c1d40 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Fri, 23 Feb 2024 21:55:17 +1100 Subject: [PATCH] Swap to API token publishing. --- .github/workflows/python-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index ee1f01f..4b27043 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -36,7 +36,7 @@ jobs: - name: Install dependencies run: | python3 -m pip install --upgrade pip - pip install setuptools wheel + pip install setuptools wheel pip install -r requirements-dev.txt - name: Bump version @@ -54,8 +54,8 @@ jobs: - name: Build and publish env: - TWINE_USERNAME: qmk - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_APITOKEN }} run: | python3 -m build twine upload dist/*