chore: Fix build task names and check lake
This commit is contained in:
parent
5379b0abe2
commit
92edb0d0cd
|
@ -23,20 +23,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: 3.11
|
python-version: 3.11
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install elan
|
||||||
run: |
|
|
||||||
pip install poetry
|
|
||||||
poetry install --only doc
|
|
||||||
|
|
||||||
- name: install elan
|
|
||||||
run: |
|
run: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.1.1/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
|
curl -sSfL https://github.com/leanprover/elan/releases/download/v3.1.1/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz
|
||||||
./elan-init -y --default-toolchain none
|
./elan-init -y --default-toolchain none
|
||||||
echo "$HOME/.elan/bin" >> "${GITHUB_PATH}"
|
echo "$HOME/.elan/bin" >> "${GITHUB_PATH}"
|
||||||
|
|
||||||
# Build the book
|
- name: Print lean and lake versions
|
||||||
- name: Build the book
|
run: |
|
||||||
|
lake --version
|
||||||
|
|
||||||
|
- name: Install poetry
|
||||||
|
run: |
|
||||||
|
pip install poetry
|
||||||
|
poetry install --only doc
|
||||||
|
|
||||||
|
- name: Build documentations
|
||||||
run: |
|
run: |
|
||||||
poetry run jupyter-book build docs
|
poetry run jupyter-book build docs
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue