Skip to content

Commit

Permalink
Only set env var for R-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Sep 26, 2023
1 parent b7a221e commit 1fa33b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
R_BIOC_VERSION: 3.17

steps:
- uses: actions/checkout@v3
Expand All @@ -55,6 +54,11 @@ jobs:
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- name: Set bioc env var for R-devel
if: ${{ matrix.config.r == 'devel'}}
run: |
echo "R_BIOC_VERSION=3.17" >> $GITHUB_ENV
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages:
Expand Down

0 comments on commit 1fa33b0

Please sign in to comment.