Skip to content

Extend content

Extend content #10

Workflow file for this run

name: Build
on:
workflow_call: # This is a resusable workflow intended to be called by other jobs.
pull_request:
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo binstall -y mdbook mdbook-admonish mdbook-linkcheck mdbook-mermaid
- name: Build with mdBook
run: mdbook build
- uses: actions/upload-artifact@v4
with:
name: spicy-course
path: ./book