Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/advanced.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: push

jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: create file list
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/long.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on: push

jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- run: echo "foo" > input.txt # create an example file
- uses: docker://pandoc/core:3.5
- uses: docker://pandoc/core:3.8
with:
args: >- # allows you to break string into multiple lines
--standalone
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: push

jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: docker://pandoc/core:3.5
- uses: docker://pandoc/core:3.8
with:
args: "--help" # gets appended to pandoc command
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You do not *need* a separate GitHub Action.
If you need LaTeX (because you want to convert through to PDF), you should use the `docker://pandoc/latex` image.
Otherwise, the smaller `docker://pandoc/core` will suffice.

It is a good idea to be explicit about the pandoc version you require, such as `docker://pandoc/core:3.5`.
It is a good idea to be explicit about the pandoc version you require, such as `docker://pandoc/core:3.8`.
This way, any future breaking changes in pandoc will not affect your workflow.
You can find out whatever the latest released docker image is on [docker hub](https://hub.docker.com/r/pandoc/core/tags).
You should avoid specifying *no* tag or the `latest` tag -- these will float to the latest image and will expose your workflow to potentially breaking changes.
Expand All @@ -42,10 +42,9 @@ on: push

jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: docker://pandoc/core:3.5
with:
- uses: docker://pandoc/core:3.8
args: "--help" # gets appended to pandoc command
```

Expand All @@ -63,10 +62,10 @@ on: push

jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- run: echo "foo" > input.txt # create an example file
- uses: docker://pandoc/core:3.5
- uses: docker://pandoc/core:3.8
with:
args: >- # allows you to break string into multiple lines
--standalone
Expand Down Expand Up @@ -98,7 +97,7 @@ on: push

jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -111,10 +110,10 @@ jobs:
# this will also include README.md
echo "files=$(printf '"%s" ' *.md)" > $GITHUB_OUTPUT

- uses: docker://pandoc/latex:3.5
- uses: docker://pandoc/latex:3.8
with:
args: --output=output/result.pdf ${{ steps.files_list.outputs.files }}

- uses: actions/upload-artifact@v4
with:
name: output
Expand All @@ -132,7 +131,7 @@ Could not find data file templates/eisvogel.latex
A work around to this is to specify the exact location on the filesystem of the template:

```
- uses: docker://pandoc/extra:3.5
- uses: docker://pandoc/extra:3.8
with:
args: content/cv.md --output=content/cv.pdf --template /.pandoc/templates/eisvogel.latex --listings -V block-headings
```
Expand Down