Skip to content

Commit

Permalink
Create book.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
subfish-zhou authored Sep 26, 2024
1 parent 52db889 commit 2fc2b4c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Book

on:
pull_request:
push:
branches:
- master
workflow_dispatch:

jobs:
book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: install elan
run: |
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain $(cat lean-toolchain)
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: build markdown files by mdgen
run: lake run build

0 comments on commit 2fc2b4c

Please sign in to comment.