Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
YaelDillies committed Nov 14, 2023
1 parent 356b326 commit cfa0d53
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 31 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Free Disk Space (Ubuntu)
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
Expand Down Expand Up @@ -47,8 +47,8 @@ jobs:
- name: Build project
run: ~/.elan/bin/lake -Kenv=dev build LeanAPAP

- uses: actions/cache@v3
name: Mathlib doc Cache
- name: Cache mathlib docs
uses: actions/cache@v3
with:
path: build/doc/Mathlib
key: DocGen4-${{ hashFiles('lake-manifest.json') }}
Expand All @@ -64,12 +64,12 @@ jobs:
python-version: '3.9'
cache: 'pip' # caching pip dependencies

- name: Install blueprint apt deps
- name: Install blueprint apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y graphviz libgraphviz-dev pdf2svg dvisvgm texlive-full
- name: Install blueprint deps
- name: Install blueprint dependencies
run: |
cd blueprint && pip install -r requirements.txt
Expand All @@ -81,13 +81,6 @@ jobs:
run: |
mv build/doc docs/docs
- name: Remove .gitignore for gh-pages
run: rm docs/.gitignore

- name: Count sorries
run: |
python scripts/count_sorry.py
- name: Bundle dependencies
uses: ruby/setup-ruby@v1
with:
Expand All @@ -99,7 +92,7 @@ jobs:
working-directory: docs
run: JEKYLL_ENV=production bundle exec jekyll build

- name: Upload doc & blueprint artifact
- name: Upload docs & blueprint artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/_site
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/upgrade_lean.yml

This file was deleted.

0 comments on commit cfa0d53

Please sign in to comment.