Skip to content

Commit fdfe8e2

Browse files
committed
correctly check for false only
1 parent a33f876 commit fdfe8e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
R-CMD-check:
2020
runs-on: ${{ matrix.config.os }}
2121

22-
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) [${{ matrix.config.quarto == false && 'No'}}Quarto ${{ matrix.config.quarto || 'release' }}]
22+
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) [${{ format('{0}', matrix.config.quarto) == 'false' && 'No'}}Quarto ${{ matrix.config.quarto || 'release' }}]
2323

2424
strategy:
2525
fail-fast: false
@@ -52,7 +52,7 @@ jobs:
5252
- uses: actions/checkout@v4
5353

5454
- uses: quarto-dev/quarto-actions/setup@v2
55-
if: matrix.config.quarto != false
55+
if: format('{0}', matrix.config.quarto) == 'false'
5656
env:
5757
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5858
with:
@@ -76,4 +76,4 @@ jobs:
7676
- uses: r-lib/actions/check-r-package@v2
7777
with:
7878
upload-snapshots: true
79-
build_args: ${{ format('c("--no-manual","--compact-vignettes=gs+qpdf"{0})', matrix.config.quarto == false && ',"--no-build-vignettes"' || '') }}
79+
build_args: ${{ format('c("--no-manual","--compact-vignettes=gs+qpdf"{0})', format('{0}', matrix.config.quarto) == 'false' && ',"--no-build-vignettes"' || '') }}

0 commit comments

Comments
 (0)