Skip to content

ci: try to fix skimage build with pyinstaller #4

ci: try to fix skimage build with pyinstaller

ci: try to fix skimage build with pyinstaller #4

Workflow file for this run

name: Release to PyPI
on:
push:
tags:
- '*'
jobs:
build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Used to host cibuildwheel
- uses: actions/setup-python@v3
- name: Build wheels
run: python -m wheel --no-deps -w dist
- name: publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PWD }}
run: |
pipx install twine
twine upload --skip-existing dist/*
build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build sdist
run: pipx run build --sdist
- name: publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PWD }}
run: |
pipx install twine
twine upload --skip-existing dist/*