Skip to content

Commit

Permalink
Update Pandoc installation in SDK generation workflow
Browse files Browse the repository at this point in the history
Modified the Pandoc installation step in the '.github/workflows/generate-sdk.yaml' file to use the 'lastversion' command instead of directly installing '*.deb' files. This ensures that the latest version of Pandoc, suitable for the system architecture, is always used. This improvement is vital for keeping our SDK documentation generation process updated.
  • Loading branch information
Omar Al-Jarrah committed Oct 26, 2023
1 parent ef92bb5 commit 1e5b11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/generate-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
architecture="$(dpkg --print-architecture)"
lastversion --assets --filter "$architecture.deb" download https://github.com/jgm/pandoc
sudo dpkg -i *.deb
sudo dpkg -i "$(ls | grep 'pandoc-.*\.deb')"
- name: Format docs
working-directory: expediagroup/sdk/docsgen/docs
run: |
Expand Down

0 comments on commit 1e5b11f

Please sign in to comment.