Skip to content

Nightly Wheel builder #10

Nightly Wheel builder

Nightly Wheel builder #10

name: Nightly Wheel builder
on:
workflow_dispatch:
schedule:
# this cron is ran every Sunday at midnight UTC
- cron: "0 0 * * 0"
env:
CIBW_BUILD_VERBOSITY: 2
CIBW_TEST_REQUIRES: "-r requirements/default.txt -r requirements/test.txt"
CIBW_TEST_COMMAND: pytest --pyargs skimage
CIBW_ENVIRONMENT: PIP_PREFER_BINARY=1
permissions:
contents: read
jobs:
call-workflow-build-wheels:
uses: ./.github/workflows/wheels_recipe.yml
if: github.repository_owner == 'scikit-image' && github.ref == 'refs/heads/main'
upload_anaconda:
permissions:
contents: write # for softprops/action-gh-release to create GitHub release
name: Release
needs: call-workflow-build-wheels
if: github.repository_owner == 'scikit-image' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
id: download
with:
name: wheels
path: ./dist
- name: Upload wheel
uses: scientific-python/upload-nightly-action@main
with:
artifacts_path: dist
anaconda_nightly_upload_token: ${{secrets.UPLOAD_TOKEN}}