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.
12 name: sdist + pure wheel
13 runs-on: ubuntu-latest
16 - uses: actions/checkout@v3
18 - name: Set up latest Python
19 uses: actions/setup-python@v4
23 - name: Install latest pip, build, twine
25 python -m pip install --upgrade --disable-pip-version-check pip
26 python -m pip install --upgrade build twine
28 - name: Build wheel and source distributions
31 - name: Upload to PyPI via Twine
33 TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
34 run: twine upload --verbose -u '__token__' dist/*
37 name: mypyc wheels (${{ matrix.name }})
38 runs-on: ${{ matrix.os }}
54 name: macos-universal2
55 macos_arch: "universal2"
58 - uses: actions/checkout@v3
60 - name: Build wheels via cibuildwheel
61 uses: pypa/cibuildwheel@v2.8.1
63 CIBW_ARCHS_MACOS: "${{ matrix.macos_arch }}"
64 # This isn't supported in pyproject.toml which makes sense (but is annoying).
65 CIBW_PROJECT_REQUIRES_PYTHON: ">=3.6.2"
67 - name: Upload wheels as workflow artifacts
68 uses: actions/upload-artifact@v2
70 name: ${{ matrix.name }}-mypyc-wheels
71 path: ./wheelhouse/*.whl
73 - name: Upload wheels to PyPI via Twine
75 TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
76 run: pipx run twine upload --verbose -u '__token__' wheelhouse/*.whl
79 name: Update stable branch
81 runs-on: ubuntu-latest
86 - name: Checkout stable branch
87 uses: actions/checkout@v3
92 - name: Update stable branch to release tag & push
94 git reset --hard ${{ github.event.release.tag_name }}