Skip to content

Commit 7cc3483

Browse files
committed
docs(README.md): update of documentation
Signed-off-by: Norwid Behrnd <[email protected]>
1 parent d003945 commit 7cc3483

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You do not *need* a separate GitHub Action.
2020
If you need LaTeX (because you want to convert through to PDF), you should use the `docker://pandoc/latex` image.
2121
Otherwise, the smaller `docker://pandoc/core` will suffice.
2222

23-
It is a good idea to be explicit about the pandoc version you require, such as `docker://pandoc/core:3.5`.
23+
It is a good idea to be explicit about the pandoc version you require, such as `docker://pandoc/core:3.8`.
2424
This way, any future breaking changes in pandoc will not affect your workflow.
2525
You can find out whatever the latest released docker image is on [docker hub](https://hub.docker.com/r/pandoc/core/tags).
2626
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.
@@ -42,10 +42,9 @@ on: push
4242

4343
jobs:
4444
convert_via_pandoc:
45-
runs-on: ubuntu-22.04
45+
runs-on: ubuntu-24.04
4646
steps:
47-
- uses: docker://pandoc/core:3.5
48-
with:
47+
- uses: docker://pandoc/core:3.8
4948
args: "--help" # gets appended to pandoc command
5049
```
5150
@@ -63,10 +62,10 @@ on: push
6362
6463
jobs:
6564
convert_via_pandoc:
66-
runs-on: ubuntu-22.04
65+
runs-on: ubuntu-24.04
6766
steps:
6867
- run: echo "foo" > input.txt # create an example file
69-
- uses: docker://pandoc/core:3.5
68+
- uses: docker://pandoc/core:3.8
7069
with:
7170
args: >- # allows you to break string into multiple lines
7271
--standalone
@@ -98,7 +97,7 @@ on: push
9897
9998
jobs:
10099
convert_via_pandoc:
101-
runs-on: ubuntu-22.04
100+
runs-on: ubuntu-24.04
102101
steps:
103102
- uses: actions/checkout@v4
104103
@@ -111,10 +110,10 @@ jobs:
111110
# this will also include README.md
112111
echo "files=$(printf '"%s" ' *.md)" > $GITHUB_OUTPUT
113112
114-
- uses: docker://pandoc/latex:3.5
113+
- uses: docker://pandoc/latex:3.8
115114
with:
116115
args: --output=output/result.pdf ${{ steps.files_list.outputs.files }}
117-
116+
118117
- uses: actions/upload-artifact@v4
119118
with:
120119
name: output
@@ -132,7 +131,7 @@ Could not find data file templates/eisvogel.latex
132131
A work around to this is to specify the exact location on the filesystem of the template:
133132

134133
```
135-
- uses: docker://pandoc/extra:3.5
134+
- uses: docker://pandoc/extra:3.8
136135
with:
137136
args: content/cv.md --output=content/cv.pdf --template /.pandoc/templates/eisvogel.latex --listings -V block-headings
138137
```

0 commit comments

Comments
 (0)