From 025480b76e2daf6d94e39fc7a869d06cdfa85420 Mon Sep 17 00:00:00 2001 From: malwarefrank <42877127+malwarefrank@users.noreply.github.com> Date: Wed, 6 Sep 2023 02:49:53 +0000 Subject: [PATCH] fix github workflow --- .github/workflows/publish-to-pypi.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index 0d4980a..d5e20eb 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -14,13 +14,12 @@ jobs: uses: actions/setup-python@v3 with: python-version: "3.8" - - name: Install setuptools and wheel + - name: Install pypa/build run: >- python -m pip install --user - setuptools - wheel + build - name: Build sdist and wheel run: >- python -m @@ -30,11 +29,11 @@ jobs: --outdir dist/ . - name: Publish distribution to Test PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.TEST_PYPI_TOKEN }} repository_url: https://test.pypi.org/legacy/ - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@master + uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_TOKEN }}