diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fbf06d01..5176c059 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,8 +36,10 @@ jobs: run: make set-version - name: Build binary wheel and source tarball run: make dist - - name: Publish package - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }} + - name: Install publish dependencies + run: python -m pip install twine~=5.1 + - name: Push to pypi + run: | + export TWINE_USERNAME=__token__ + export TWINE_PASSWORD=${{ secrets.PYPI_TOKEN }} + python -m twine upload dist/storey-*.whl