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 }}
50 # Only build x86_64 wheels on macos until #3312 is fixed
55 # name: macos-universal2
56 # macos_arch: "universal2"
59 - uses: actions/checkout@v3
61 - name: Build wheels via cibuildwheel
62 uses: pypa/cibuildwheel@v2.11.2
64 CIBW_ARCHS_MACOS: "${{ matrix.macos_arch }}"
66 - name: Upload wheels as workflow artifacts
67 uses: actions/upload-artifact@v3
69 name: ${{ matrix.name }}-mypyc-wheels
70 path: ./wheelhouse/*.whl
72 - name: Upload wheels to PyPI via Twine
74 TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
75 run: pipx run twine upload --verbose -u '__token__' wheelhouse/*.whl
78 name: Update stable branch
80 runs-on: ubuntu-latest
85 - name: Checkout stable branch
86 uses: actions/checkout@v3
91 - name: Update stable branch to release tag & push
93 git reset --hard ${{ github.event.release.tag_name }}