diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index ac74a1ae..8395e788 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -8,7 +8,7 @@ name: pkgdown jobs: pkgdown: - runs-on: ubuntu-20.04 + runs-on: macOS-latest env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_COMPILE_AND_INSTALL_PACKAGES: 'never' @@ -39,6 +39,11 @@ jobs: eval sudo $cmd done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))') + - name: Install system dependencies (macOS) + if: runner.os == 'macOS' + run: | + brew install libgit2 + - name: Query dependencies run: | install.packages('remotes')