Skip to content

Update toolchain to nightly-2024-03-22 #150

Update toolchain to nightly-2024-03-22

Update toolchain to nightly-2024-03-22 #150

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
jobs:
docs:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly-2023-12-28
components: rust-src
- name: Build documentation (arduino-hal)
run: cd arduino-hal/ && cargo doc --features arduino-uno
- name: Build documentation (atmega-hal)
run: cd mcu/atmega-hal/ && cargo doc --features atmega328p
- name: Build documentation (attiny-hal)
run: cd mcu/attiny-hal/ && cargo doc --features attiny85
- name: Deploy to GH-Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
publish_branch: gh-pages
force_orphan: true