Skip to content

Commit

Permalink
Update push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pitmonticone committed Jul 5, 2024
1 parent dd4a2cf commit 3f51ff4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
run: |
curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | sh -s -- -y --default-toolchain leanprover/lean4:4.0.0 # Install Lean 4
- name: Update docgen4
run: ~/.elan/bin/lake -R -Kenv=dev update «doc-gen4»

- name: Get cache
run: ~/.elan/bin/lake -Kenv=dev exe cache get || true

- name: Build project
run: ~/.elan/bin/lake -Kenv=dev build Carleson

# - name: Clear build artifacts
# run: rm -rf .lake/build/Carleson/* # Clean up build artifacts to save space

- name: Cache mathlib docs
uses: actions/cache@v3
with:
Expand All @@ -57,14 +57,14 @@ jobs:
restore-keys: |
MathlibDoc- # Cache Mathlib documentation to save rebuild time
- name: List available documentation parts
run: ls -R .lake/build/doc # List all available documentation parts for monitoring
# - name: List available documentation parts
# run: ls -R .lake/build/doc # List all available documentation parts for monitoring

- name: Build documentation
run: ~/.elan/bin/lake -Kenv=dev build Carleson:docs # Build project documentation

- name: Clear cached documentation files
run: rm -rf .lake/build/doc/declarations/header-data.bmp # Clean up documentation cache to save space
# - name: Clear cached documentation files
# run: rm -rf .lake/build/doc/declarations/header-data.bmp # Clean up documentation cache to save space

- name: Install Python
uses: actions/setup-python@v4
Expand Down

0 comments on commit 3f51ff4

Please sign in to comment.