forked from leanprover-community/physlib
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (24 loc) · 894 Bytes
/
Copy pathPhysLeanTreemap.yml
File metadata and controls
30 lines (24 loc) · 894 Bytes
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
# This is a workflow that is triggered manually to create a treemap (in docs folder) of physlean directories
name: Physlean treemap
on:
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
name: run treemap_gen.py
# install python and dependencies, run the python file, save and commit the image in high resolution in the docs folder
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: pip install -r "scripts/treemap_requirements.txt"
- run: python scripts/treemap_gen.py
- run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add "docs/treemap.png"
git commit -m "Update treemap image [skip ci]" || echo "No changes to commit"
git push