Skip to content

Commit

Permalink
Add the pandoc path to PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin-Crawford committed Dec 10, 2023
1 parent 7a16fc3 commit 9f3fc56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/full_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
C:\ProgramData\chocolatey\bin\choco install pandoc -y
# Add the pandoc path to PATH.
$pandocPath = "C:\ProgramData\chocolatey\bin\choco\bin"
$pandocPath = Join-Path $env:ChocolateyInstall 'bin'
if ($env:PATH -notlike "*$pandocPath*") {
[Environment]::SetEnvironmentVariable('PATH', "$($env:PATH) $pandocPath", [System.EnvironmentVariableTarget]::Machine)
echo "Pandoc path added."
Expand Down

0 comments on commit 9f3fc56

Please sign in to comment.