Skip to content

Commit

Permalink
Update to use setup-r@v2-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
aravind-j committed Aug 20, 2023
1 parent 7158c33 commit 6fc7578
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,7 @@ jobs:
# install full prebuilt version
TINYTEX_INSTALLER: TinyTeX

- name: Install Ghostscript on Linux
if: runner.os == 'Linux'
run: sudo DEBIAN_FRONTEND=noninteractive apt-get install --yes ghostscript

- name: Install Ghostscript on Windows
if: runner.os == 'Windows'
run: |
# Set up chocolatey profile so that refreshenv is an powershell alias
$env:ChocolateyInstall = Convert-Path "$((Get-Command choco).Path)\..\.."
Import-Module "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1"
# Install ghostscript and update env
choco install ghostscript --no-progress
refreshenv
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r@v2-branch
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
lfs: 'true'

- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r@v2-branch

- uses: r-lib/actions/setup-pandoc@v2

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/render-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r@v2-branch
- uses: r-lib/actions/setup-pandoc@v2

- name: Query dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-citation-cff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r@v2-branch
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
Expand Down

0 comments on commit 6fc7578

Please sign in to comment.