Skip to content

0.6.2

0.6.2 #11

Workflow file for this run

name: Publish
on:
push:
tags:
- '*'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Publish to crates.io
run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
build_pydocs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
- run: pip install maturin pdoc typing
- run: maturin build
- run: pip install --no-index --find-links target/wheels/ dwat
- run: pdoc -o docs/ python_stubs/dwat
- uses: actions/upload-pages-artifact@v1
with:
path: docs/
deploy_pydocs:
needs: build_pydocs
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v2