Skip to content

Release

Release #39

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --all-features -- --test-threads=1
- name: Generate documentation
run: |
cargo doc --all-features
RUSTDOCFLAGS="--html-in-header scripts/katex-header.html" cargo doc --lib --no-deps --all-features
- name: Deploy documentation
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./target/doc
target-folder: ${{ github.ref_name }}
- name: Publish crates
run: cargo publish --workspace --token ${{ secrets.CRATES_IO_TOKEN }}