-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 1.35 KB
/
blueprint.yml
File metadata and controls
41 lines (35 loc) · 1.35 KB
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
32
33
34
35
36
37
38
39
40
41
name: Compile blueprint
on:
push:
branches:
- main # Trigger on pushes to the default branch
workflow_dispatch: # Allow manual triggering of the workflow from the GitHub Actions interface
# Cancel previous runs if a new commit is pushed to the same PR or branch
concurrency:
group: ${{ github.ref }} # Group runs by the ref (branch or PR)
cancel-in-progress: true # Cancel any ongoing runs in the same group
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read # Read access to repository contents
pages: write # Write access to GitHub Pages
id-token: write # Write access to ID tokens
jobs:
build_project:
runs-on: ubuntu-latest
name: Build project
steps:
- name: Checkout project
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0 # Fetch all history for all branches and tags
- name: Build the project
uses: leanprover/lean-action@434f25c2f80ded67bba02502ad3a86f25db50709 # v1.3.0
with:
use-github-cache: false
- name: Compile blueprint and documentation
uses: jcreedcmu/docgen-action@b4f854219eefbc4155c1c62145f1c5a18efa366b
with:
api-docs: "jibber"
api_docs: "jabber"
blueprint: false
homepage: home_page