Skip to content

Multiple outputs #20

Closed
Closed
@vlc1

Description

@vlc1

Hi there,

I'm currently using Pandoc's docker in a Github action and it's working really well, thanks a lot for providing this opportunity!

I'm currently converting a single markdown file into latex using something like this :

- name: Pandoc
  uses: docker://pandoc/core:2.9
  with:
    args: >-
      -s -N
      -f markdown
      -t latex
      -o foo.tex
      foo.md

I would like to do this for multiple files, i. e. convert bar.md to bar.tex, baz.md to bar.tex and so forth and so on.

I tried the following but Github is complaining about the sequence...

- name: Pandoc
  uses: docker://pandoc/core:2.9
  with:
    args:
      - -s -N -f markdown -t latex -o foo.tex foo.md
      - -s -N -f markdown -t latex -o bar.tex bar.md

Any pointers on how I could do this would be greatly appreciated! Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions