]> git.madduck.net Git - etc/vim.git/blob - .github/workflows/pypi_upload.yml

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Update CHANGES.md for 21.6b0 release (#2325)
[etc/vim.git] / .github / workflows / pypi_upload.yml
1 name: pypi_upload
2
3 on:
4   release:
5     types: created
6
7 jobs:
8   build:
9     name: PyPI Upload
10     runs-on: ubuntu-latest
11
12     steps:
13       - uses: actions/checkout@v2
14
15       - name: Set up Python
16         uses: actions/setup-python@v2
17
18       - name: Install latest pip, setuptools, twine + wheel
19         run: |
20           python -m pip install --upgrade pip setuptools twine wheel
21
22       - name: Build wheels
23         run: |
24           python setup.py bdist_wheel
25           python setup.py sdist
26
27       - name: Upload to PyPI via Twine
28         env:
29           TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
30         run: |
31           twine upload --verbose -u '__token__' dist/*