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.
1 name: Build wheels and publish to PyPI
13 name: sdist + pure wheel
14 runs-on: ubuntu-latest
17 - uses: actions/checkout@v3
19 - name: Set up latest Python
20 uses: actions/setup-python@v4
24 - name: Install latest pip, build, twine
26 python -m pip install --upgrade --disable-pip-version-check pip
27 python -m pip install --upgrade build twine
29 - name: Build wheel and source distributions
32 - if: github.event_name == 'release'
33 name: Upload to PyPI via Twine
35 TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
36 run: twine upload --verbose -u '__token__' dist/*
39 name: mypyc wheels (${{ matrix.name }})
40 runs-on: ${{ matrix.os }}
56 name: macos-universal2
57 macos_arch: "universal2"
60 - uses: actions/checkout@v3
62 - name: Build wheels via cibuildwheel
63 uses: pypa/cibuildwheel@v2.15.0
65 CIBW_ARCHS_MACOS: "${{ matrix.macos_arch }}"
67 - name: Upload wheels as workflow artifacts
68 uses: actions/upload-artifact@v3
70 name: ${{ matrix.name }}-mypyc-wheels
71 path: ./wheelhouse/*.whl
73 - if: github.event_name == 'release'
74 name: Upload wheels to PyPI via Twine
76 TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
77 run: pipx run twine upload --verbose -u '__token__' wheelhouse/*.whl
80 name: Update stable branch
82 runs-on: ubuntu-latest
87 - name: Checkout stable branch
88 uses: actions/checkout@v3
93 - if: github.event_name == 'release'
94 name: Update stable branch to release tag & push
96 git reset --hard ${{ github.event.release.tag_name }}