diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 133ca8f..6e1d73b 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -1,6 +1,7 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI -on: workflow_dispatch +on: + workflow_dispatch: jobs: build: @@ -18,11 +19,8 @@ jobs: with: python-version: "3.8" - name: Install pypa/build - run: >- - python3 -m - pip install - build - --user + run: | + python3 -m pip install build --user - name: Build a binary wheel and a source tarball run: python3 -m build - name: Store the distribution packages @@ -40,4 +38,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.PYPI_API_KEY }} - repository-url: https://test.pypi.org/legacy/ \ No newline at end of file + repository-url: https://upload.pypi.org/legacy/ \ No newline at end of file