From fd8c96b5e1269e381ba12107c8a15f66c59071d8 Mon Sep 17 00:00:00 2001 From: Till Hoffmann Date: Sat, 16 Dec 2023 00:40:55 +0100 Subject: [PATCH] Use action to install pandoc. --- .github/workflows/main.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4dbc817..0e93636 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: |