Update to nightly-2024-12-01 (#32) #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
tags: | |
- "v*" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install cargo-workspaces | |
uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: cargo-workspaces | |
version: 0.2.44 | |
- 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 ws publish --from-git --yes --token ${{ secrets.CRATES_IO_TOKEN }} |