From 10bd79b574cc08f1caedbfc7ae7ca7862ddc927a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 12 Dec 2020 04:11:57 +0000 Subject: [PATCH] update tic templates --- .github/workflows/tic.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tic.yml b/.github/workflows/tic.yml index b18bcf13d..0d53b6977 100644 --- a/.github/workflows/tic.yml +++ b/.github/workflows/tic.yml @@ -1,5 +1,5 @@ ## tic GitHub Actions template: linux-macos-windows-deploy -## revision date: 2020-11-14 +## revision date: 2020-12-11 on: workflow_dispatch: push: @@ -82,9 +82,13 @@ jobs: Rscript -e "if (!requireNamespace('remotes')) install.packages('remotes', type = 'source')" Rscript -e "if (getRversion() < '3.2' && !requireNamespace('curl')) install.packages('curl', type = 'source')" - - name: "[Stage] [Linux] Install curl" + - name: "[Stage] [Linux] Install curl and libgit2" if: runner.os == 'Linux' - run: sudo apt install libcurl4-openssl-dev + run: sudo apt install libcurl4-openssl-dev libgit2-dev + + - name: "[Stage] [macOS] Install libgit2" + if: runner.os == 'macOS' + run: brew install libgit2 - name: "[Stage] [macOS] Install system libs for pkgdown" if: runner.os == 'macOS' && matrix.config.pkgdown != ''