4949 twine upload dist/*manylinux*.whl --verbose
5050 continue-on-error : false
5151
52+ publish-windows :
53+ runs-on : windows-latest
54+ strategy :
55+ fail-fast : false
56+ matrix :
57+ python-version : ["3.8", "3.9", "3.10", "3.11"]
58+ steps :
59+ - uses : actions/checkout@v3
60+ - name : Set up Python ${{ matrix.python-version }}
61+ uses : actions/setup-python@v4
62+ with :
63+ python-version : ${{ matrix.python-version }}
64+ cache : pip
65+ cache-dependency-path : setup.py
66+ - name : Install dependencies
67+ run : |
68+ pip install setuptools wheel numpy transonic psutil twine build
69+ - name : Publish to PyPi with twine (windows)
70+ env :
71+ TWINE_USERNAME : __token__
72+ TWINE_PASSWORD : ${{ secrets.TWINE_API_KEY }}
73+ # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
74+ run : |
75+ git tag
76+ python -m build .
77+ twine upload dist/* --verbose
78+ #continue-on-error: true
79+
80+ publish-macos :
81+ runs-on : macos-latest
82+ strategy :
83+ fail-fast : false
84+ matrix :
85+ python-version : ["3.8", "3.9", "3.10", "3.11"]
86+ steps :
87+ - uses : actions/checkout@v3
88+ - name : Set up Python ${{ matrix.python-version }}
89+ uses : actions/setup-python@v4
90+ with :
91+ python-version : ${{ matrix.python-version }}
92+ cache : pip
93+ cache-dependency-path : setup.py
94+ - name : Install dependencies
95+ run : |
96+ pip install setuptools wheel numpy transonic psutil twine build
97+ - name : Publish tp PyPi with twine (macOS)
98+ env :
99+ TWINE_USERNAME : __token__
100+ TWINE_PASSWORD : ${{ secrets.TWINE_API_KEY }}
101+ # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
102+ run : |
103+ git tag
104+ python -m build .
105+ twine upload dist/* --verbose
106+ # continue-on-error: true
0 commit comments