Skip to content

Commit

Permalink
Use action to install pandoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tillahoffmann committed Dec 15, 2023
1 parent 99c545c commit fd8c96b
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ jobs:
- macos-latest
runs-on: ${{ matrix.runner }}
steps:
- uses: "actions/checkout@v4"
- name: Install Windows dependencies.
run: choco install pandoc
if: matrix.runner == 'windows-latest'
- name: Install macOS dependencies.
run: brew install pandoc
if: matrix.runner == 'macos-latest'
- uses: "r-lib/actions/setup-r@v2"
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
Expand Down

0 comments on commit fd8c96b

Please sign in to comment.