File: book.yml

package info (click to toggle)
rust-cargo-mutants 25.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,452 kB
  • sloc: makefile: 2
file content (31 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build book
on:
  push:
    branches:
      - main
  workflow_dispatch:
  pull_request:
    branches:
      - main
    paths:
      - .github/workflows/book.yml
      - book/**

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install mdbook and mdbook-linkcheck
        uses: taiki-e/install-action@v2
        with:
          tool: mdbook, mdbook-linkcheck
      - name: Build mdbook
        run: |
          mdbook build book
      - name: Archive book output
        uses: actions/upload-artifact@v4
        if: always()
        with:
          name: book
          path: book/book