From 8ca4418eae1fb0ed43ec62d50289f4a3136e2716 Mon Sep 17 00:00:00 2001 From: lassedochreden Date: Fri, 25 Oct 2024 10:04:20 +0200 Subject: [PATCH] install latest pandoc test --- .github/workflows/build-checks-devel.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-checks-devel.yml b/.github/workflows/build-checks-devel.yml index 8291942..57c09ae 100644 --- a/.github/workflows/build-checks-devel.yml +++ b/.github/workflows/build-checks-devel.yml @@ -25,9 +25,12 @@ jobs: run: | apt-get update apt-get install -y --no-install-recommends apt-utils - apt-get install -y --no-install-recommends zlib1g-dev libfftw3-dev libxml2-dev libxt-dev curl libglpk-dev libcairo2-dev libmagick++-dev libcurl4-gnutls-dev libudunits2-dev libgdal-dev libproj-dev pandoc pandoc-citeproc libnode-dev tk libv8-dev + apt-get install -y --no-install-recommends zlib1g-dev libfftw3-dev libxml2-dev libxt-dev curl libglpk-dev libcairo2-dev libmagick++-dev libcurl4-gnutls-dev libudunits2-dev libgdal-dev libproj-dev libnode-dev tk libv8-dev + LATEST_RELEASE=$(curl --silent "https://api.github.com/repos/jgm/pandoc/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")') + wget https://github.com/jgm/pandoc/releases/download/$LATEST_RELEASE/pandoc-${LATEST_RELEASE}-linux-amd64.deb + sudo dpkg -i pandoc-${LATEST_RELEASE}-linux-amd64.deb apt-get clean - rm -rf /var/lib/apt/ilists/* + rm -rf /var/lib/apt/lists/* - name: Install dependencies run: |