Skip to content

Commit

Permalink
Update Pandoc installation method in generate-sdk workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Omar Al-Jarrah committed Oct 23, 2023
1 parent f61ad18 commit beed971
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/generate-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit beed971

Please sign in to comment.