Skip to content

Update buildbook.yml #2

Update buildbook.yml

Update buildbook.yml #2

Workflow file for this run

# This workflow makes sure we can build all the books successfully
permissions:
contents: read
on:
push:
branches: [actions]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
name: build-book
jobs:
buildbook:
runs-on: ubuntu-latest
name: ${{ matrix.target }}
strategy:
matrix:
target: [thumbv8m.main-none-eabihf]
steps:
- uses: actions/checkout@v4
- name: Install mdbook
run: apt-get install mdbook
- name: Build all books
run:
for book in $(find . -name book.toml -exec dirname {} \;); do
mdbook build $book
done
- name: Upload built books
uses: actions/upload-artifact@v2
with:
name: built-books
path: '**/book'