From c00e718c4d80f19111d6a0951fa22dc3093f9685 Mon Sep 17 00:00:00 2001 From: amyheather Date: Tue, 9 Jul 2024 11:05:12 +0100 Subject: [PATCH] ci(github action): switched back to setup-renv --- .github/workflows/quarto_publish.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/quarto_publish.yaml b/.github/workflows/quarto_publish.yaml index 926669a..022e952 100644 --- a/.github/workflows/quarto_publish.yaml +++ b/.github/workflows/quarto_publish.yaml @@ -10,7 +10,7 @@ on: jobs: build-deploy: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest permissions: contents: write steps: @@ -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 @@ -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