From c5e77376a87e05f9c98cc04383177f696ccb9f52 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Wed, 31 Jul 2024 22:57:15 +0200 Subject: [PATCH] Try out fix for pandoc-nigthly in official action --- .github/workflows/R-CMD-check.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 4df14ebc92..3a250de129 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -29,10 +29,10 @@ jobs: fail-fast: false matrix: config: - # testing R release with last shipped pandoc version in RStudio IDE and new pandoc + # testing R release with latest pandoc version and their dev version - {os: windows-latest, pandoc: 'latest', r: 'release'} - {os: macOS-latest, pandoc: 'latest', r: 'release'} - - {os: ubuntu-latest, pandoc: 'devel', r: 'release'} + - {os: ubuntu-latest, pandoc: 'nightly', r: 'release'} # testing older pandoc versions - {os: ubuntu-latest, pandoc: '3.1.11', r: 'release'} - {os: ubuntu-latest, pandoc: '2.19.2', r: 'release'} @@ -80,17 +80,10 @@ jobs: extra-packages: any::rcmdcheck needs: check - - name: Remove default installed Pandoc - if: runner.os == 'Linux' - run: sudo dpkg -r pandoc - - - uses: r-lib/actions/setup-pandoc@v2 - if: matrix.config.pandoc != 'devel' + - uses: r-lib/actions/setup-pandoc@fix/setup-pandoc-nightly-download with: pandoc-version: ${{ matrix.config.pandoc }} - - - uses: cderv/actions/setup-pandoc-nightly@nightly-pandoc - if: matrix.config.pandoc == 'devel' + token: ${{ secrets.GITHUB_TOKEN }} - name: Pandoc and Tinytex info run: |