Skip to content

add PRF

add PRF #25

Workflow file for this run

name: docs
on:
push:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
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 none
echo "$HOME/.elan/bin" >> $GITHUB_PATH
- name: Cache outputs
uses: actions/cache@v3
with:
path: ./.lake
key: deps-${{ runner.os }}-${{ hashFiles('lean-toolchain') }}-${{ hashFiles('lake-manifest.json') }}-${{ github.sha }}
restore-keys: |
deps-${{ runner.os }}-${{ hashFiles('lean-toolchain') }}-${{ hashFiles('lake-manifest.json') }}
deps-${{ runner.os }}-${{ hashFiles('lean-toolchain') }}
- run: |
lake -R -Kenv=dev exe cache get && lake -R -Kenv=dev build && lake -R -Kenv=dev build Logic:docs Arithmetization:docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./.lake/build/doc/
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v1
id: deployment