Skip to content

Commit

Permalink
Update curl command in Pandoc installation
Browse files Browse the repository at this point in the history
The curl command has been optimized in the generate-sdk workflow. The previous configuration used sudo unnecessarily while pulling the Pandoc package. With this change, the package is fetched from the URL first before using sudo for installation. This simplifies the process and avoids potential permissions issues.
  • Loading branch information
Omar Al-Jarrah committed Oct 23, 2023
1 parent 0a8e5d9 commit 7598c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
- name: Install Pandoc
run: |
architecture="$(dpkg --print-architecture)"
sudo curl -O -L "https://github.com/jgm/pandoc/releases/download/3.1.8/pandoc-3.1.8-1-$architecture.deb"
dpkg -i *.deb
curl -O -L "https://github.com/jgm/pandoc/releases/download/3.1.8/pandoc-3.1.8-1-$architecture.deb"
sudo dpkg -i *.deb
- name: Format docs
working-directory: expediagroup/sdk/docsgen/docs
run: |
Expand Down

0 comments on commit 7598c25

Please sign in to comment.