From fd08f9f545d73ceee55b41d3c46117b17ace9e06 Mon Sep 17 00:00:00 2001 From: Pat <52056183+NeuroShepherd@users.noreply.github.com> Date: Mon, 18 Mar 2024 16:15:37 +0100 Subject: [PATCH] Install libcurl4-openssl-dev in GH Action (#1) * Install libcurl4-openssl-dev in GH Action * Install additional Ubuntu libraries * Run workflow on dispatch or push only --- .github/workflows/publish.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 02b28d3..e5330a5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,8 +2,7 @@ on: workflow_dispatch: push: branches: main - pull_request: - branches: main + name: Quarto Publish @@ -15,6 +14,12 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v3 + + - name: Install libcurl4-openssl-dev + run: sudo apt-get install -y libcurl4-openssl-dev + + - name: Install libharfbuzz-dev libfribidi-dev libtiff5-dev + run: sudo apt install libharfbuzz-dev libfribidi-dev libtiff5-dev - uses: r-lib/actions/setup-r@v2 - uses: r-lib/actions/setup-renv@v2 @@ -29,4 +34,4 @@ jobs: with: target: gh-pages env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}