X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/125ed5b2601f0e74ded03b666132e3c37ae8af07..5543d1b55a2a485f2aaf32156ea97f4728264137:/.github/workflows/pypi_upload.yml?ds=sidebyside diff --git a/.github/workflows/pypi_upload.yml b/.github/workflows/pypi_upload.yml index 5df91d9..0921b62 100644 --- a/.github/workflows/pypi_upload.yml +++ b/.github/workflows/pypi_upload.yml @@ -2,7 +2,7 @@ name: pypi_upload on: release: - types: created + types: [published] jobs: build: @@ -15,14 +15,14 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 - - name: Install latest pip, setuptools, twine + wheel + - name: Install latest pip, build, twine run: | - python -m pip install --upgrade pip setuptools twine wheel + python -m pip install --upgrade --disable-pip-version-check pip + python -m pip install --upgrade build twine - - name: Build wheels + - name: Build wheel and source distributions run: | - python setup.py bdist_wheel - python setup.py sdist + python -m build - name: Upload to PyPI via Twine env: