Skip to content

Commit

Permalink
Try out fix for pandoc-nigthly in official action
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv committed Jul 31, 2024
1 parent a9497ff commit c5e7737
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit c5e7737

Please sign in to comment.