diff --git a/.github/workflows/template.yml b/.github/workflows/template.yml index 9ff0d662..90260ca0 100644 --- a/.github/workflows/template.yml +++ b/.github/workflows/template.yml @@ -131,9 +131,10 @@ jobs: - name: Set up R if: steps.check-rmd.outputs.count != 0 - uses: r-lib/actions/setup-r@master + uses: r-lib/actions/setup-r@v2 with: - r-version: 'release' + use-public-rspm: true + install-r: false - name: Install needed packages if: steps.check-rmd.outputs.count != 0 diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 9d47e300..d351e683 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -48,9 +48,10 @@ jobs: - name: Set up R if: steps.check-rmd.outputs.count != 0 - uses: r-lib/actions/setup-r@master + uses: r-lib/actions/setup-r@v2 with: - r-version: 'release' + use-public-rspm: true + install-r: false - name: Restore R Cache if: steps.check-rmd.outputs.count != 0