Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run pandoc using a Windows runner? #25

Open
slavistan opened this issue Jan 20, 2023 · 1 comment
Open

How to run pandoc using a Windows runner? #25

slavistan opened this issue Jan 20, 2023 · 1 comment

Comments

@slavistan
Copy link

Hi. I'm forced to use a Windows runner for a pipeline and the instructions in this repository do not work. Here's a MWE:

This pipeline fails, producing the error message Value cannot be null. (Parameter 'container').

jobs:
  build:
    runs-on: windows-latest
    steps:
      - uses: docker://pandoc/core
        with:
          args: "--help"

Changing to the ubuntu-latest runner fixes the problem. Any idea on why this is the case?

@slavistan
Copy link
Author

Turn out, installing via chocolatey does the job.

jobs:
  build:
    runs-on: windows-latest
    steps:
      - run: |
          choco install --yes pandoc
          pandoc --help

That'd be something to put into the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant