Skip to content

Commit b2c9109

Browse files
committed
fix logic
1 parent 727cb1c commit b2c9109

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ jobs:
5454
5555
- name: Setup recent R
5656
uses: r-lib/actions/setup-r@v2
57-
if: ${{ matrix.config.r != '4.1.0' || matrix.config.r != '4.4.2'}}
57+
if: ${{ matrix.config.r != '4.1.0' && matrix.config.r != '4.4.2'}}
5858
with:
5959
r-version: ${{ matrix.config.r }}
6060
http-user-agent: ${{ matrix.config.http-user-agent }}
6161
use-public-rspm: true
6262

6363
- name: Setup older R
6464
uses: r-lib/actions/setup-r@v2
65-
if: ${{ matrix.config.r == '4.1.0' || matrix.config.r != '4.4.2'}}
65+
if: ${{ matrix.config.r == '4.1.0' || matrix.config.r == '4.4.2'}}
6666
with:
6767
r-version: ${{ matrix.config.r }}
6868
cran: 'https://packagemanager.posit.co/cran/__linux__/noble/2024-04-19'

0 commit comments

Comments
 (0)