From 8a025c1f817ff25a1f4e158d843e0393cd261153 Mon Sep 17 00:00:00 2001 From: Philippe Muller Date: Tue, 30 Apr 2024 14:56:20 +0800 Subject: [PATCH] fix: pass the PyPI token to rye as a CLI argument --- .github/workflows/pypi-publish.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pypi-publish.yaml b/.github/workflows/pypi-publish.yaml index 7bc3d1e..6e231d4 100644 --- a/.github/workflows/pypi-publish.yaml +++ b/.github/workflows/pypi-publish.yaml @@ -15,6 +15,4 @@ jobs: with: enable-cache: true - run: rye build --clean --wheel - - run: rye publish --skip-existing - env: - PYPI_TOKEN: ${{ secrets.SALTSTACK_AGE_PYPI_TOKEN }} + - run: rye publish --skip-existing --token ${{ secrets.SALTSTACK_AGE_PYPI_TOKEN }}