From 63a001945873c21f7eb65236da5b7f6d135c9c22 Mon Sep 17 00:00:00 2001 From: Eva Hamrud <50098063+evaham1@users.noreply.github.com> Date: Wed, 25 Sep 2024 11:56:15 +1000 Subject: [PATCH] add action to install curl if running on linux OS --- .github/workflows/actions.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 815aeafa..532d4cb6 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -135,6 +135,13 @@ jobs: # sudo -s eval "$sysreqs" # sudo apt-get update && sudo apt-get -y install libcurl4-openssl-dev + - name: Install curl for linux + if: runner.os == 'Linux' + env: + RHUB_PLATFORM: linux-x86_64-ubuntu-gcc + run: | + sudo apt-get update && sudo apt-get -y install libcurl4-openssl-dev + - name: Install dependencies 🔨 run: | options(repos = c(CRAN = "https://cran.r-project.org"))