Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 7, 2024
1 parent a3a6ab8 commit 5d392d9
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ jobs:

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Cache usecase_data
uses: actions/cache@v2
with:
path: |
book/usecase/data
key: usecase_data_${{ runner.os }}

- name: Make sure data is available
run: |
Expand All @@ -46,15 +39,20 @@ jobs:
- name: Set up renv
uses: r-lib/actions/setup-renv@v2

- name: Cache _freeze
- name: Cache certain directories to speed up build
uses: actions/cache@v2
with:
path: |
_freeze
key: renv_${{ runner.os }}
.quarto
book/usecase/data
key: quarto_cache_${{ github.ref_name }}
restore-keys: |
quarto_cache_main
- name: Render slides
- name: Render book
run: |
Rescript -e "renv::restore()"
source renv/python/virtualenvs/renv-python-3.12/bin/activate
quarto render
Expand Down

0 comments on commit 5d392d9

Please sign in to comment.