Skip to content

Commit

Permalink
ci(github action): switched back to setup-renv
Browse files Browse the repository at this point in the history
  • Loading branch information
amyheather committed Jul 9, 2024
1 parent df4c6a4 commit c00e718
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/quarto_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build-deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
contents: write
steps:
Expand All @@ -20,11 +20,13 @@ jobs:
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Install python and dependencies
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'

- name: Install python dependencies
- run: pip install -r requirements.txt

- name: Install R
Expand All @@ -36,12 +38,9 @@ jobs:
sudo apt-get install libcurl4-openssl-dev
- name: Install R dependencies
uses: r-lib/actions/setup-r-dependencies@v2
uses: r-lib/actions/setup-renv@v2
with:
working-directory: './reproduction/'
cache-version: 2
extra-packages: |
any::pak

- name: Render and publish to GitHub pages
uses: quarto-dev/quarto-actions/publish@v2
Expand Down

0 comments on commit c00e718

Please sign in to comment.