From beed971195198e3648d88bb826aff4f03c2a3faa Mon Sep 17 00:00:00 2001 From: Omar Al-Jarrah Date: Mon, 23 Oct 2023 19:45:33 +0300 Subject: [PATCH] Update Pandoc installation method in generate-sdk workflow Changed the method of installing Pandoc in the generate-sdk workflow. Instead of using apt-get to install, we download the Pandoc package directly via curl and install it using dpkg. This ensures we are using the latest version of Pandoc, which could potentially fix issues related to document conversion. --- .github/workflows/generate-sdk.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate-sdk.yaml b/.github/workflows/generate-sdk.yaml index 8e6ae1d3..02fcf0e0 100644 --- a/.github/workflows/generate-sdk.yaml +++ b/.github/workflows/generate-sdk.yaml @@ -61,7 +61,9 @@ jobs: python3 ./__main__.py -p ./temp -n "$namespace" - name: Install Pandoc - run: sudo apt-get update && sudo apt-get install pandoc + run: | + curl -O -L https://github.com/jgm/pandoc/releases/download/3.1.8/pandoc-3.1.8-1-amd64.deb + dpkg -i *.deb - name: Format docs working-directory: expediagroup/sdk/docsgen/docs run: |