Skip to content

Commit

Permalink
Run on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Smith committed Jul 11, 2021
1 parent fec9c9e commit 6709ccf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 6709ccf

Please sign in to comment.