Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try out fix for pandoc-nigthly in official action #2565

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading