Skip to content

try deploy new version for python 3.12 #174

try deploy new version for python 3.12

try deploy new version for python 3.12 #174

Workflow file for this run

name: Deploy
on: push
jobs:
build-linux:
name: Build linux Python wheels
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build manylinux Python wheels
uses: RalfG/[email protected]_x86_64
with:
python-versions: 'cp36-cp36m cp37-cp37m'
- uses: actions/upload-artifact@master
with:
name: linux-wheels
path: dist/*-manylinux*.whl
build-windows:
name: Build windows Python wheel
runs-on: windows-2022
steps:
- uses: actions/setup-python@v3
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.15.0
- uses: ilammy/msvc-dev-cmd@v1
- name: Build 64-bit wheel
run: python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: cp36-win_amd64
- uses: actions/upload-artifact@v3
with:
name: windows-wheel
path: dist/*.whl
deploy-pypi:
runs-on: ubuntu-latest
needs: [run-tox-test, run-tox-test-windows]

Check failure on line 49 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 49, Col: 13): Job 'deploy-pypi' depends on unknown job 'run-tox-test'. .github/workflows/main.yml (Line: 49, Col: 27): Job 'deploy-pypi' depends on unknown job 'run-tox-test-windows'.
if: github.ref == 'refs/heads/main' # We only deploy on master commits
steps:
- uses: actions/download-artifact@master
with:
name: linux-wheels
path: dist
- uses: actions/download-artifact@master
with:
name: windows-wheel
path: dist
- run: ls dist
- name: Upload to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}