From cb613801d430b6efce9f480c2eef35db68e43577 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Sat, 23 Mar 2024 17:54:20 -0700 Subject: [PATCH] pip try twine --- .github/workflows/release.yaml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cd6ab38..f0376fa 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -106,21 +106,18 @@ jobs: # done # env: # GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }} - - uses: pypa/gh-action-pypi-publish@release/v1 + - uses: actions/setup-python@v5 with: - password: ${{ secrets.PYPI_API_TOKEN }} - skip-existing: true - packages-dir: distx/pip - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} - skip-existing: true - packages-dir: distx/datasette - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} - skip-existing: true - packages-dir: distx/sqlite_utils + python-version: "3.12" + cache: "pip" + - run: pip install twine + - run: | + twine upload distx/pip + twine upload distx/datasette + twine upload distx/sqlite_utils + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} #upload-hex: # runs-on: ubuntu-latest