Skip to content

Commit 2ea4e8d

Browse files
authored
Merge pull request #41 from nbehrnd/docker38
update of yaml files and README.md
2 parents d003945 + 47dac39 commit 2ea4e8d

File tree

4 files changed

+14
-15
lines changed

4 files changed

+14
-15
lines changed

.github/workflows/advanced.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: push
44

55
jobs:
66
convert_via_pandoc:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
88
steps:
99
- uses: actions/checkout@v4
1010
- name: create file list

.github/workflows/long.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on: push
44

55
jobs:
66
convert_via_pandoc:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
88
steps:
99
- run: echo "foo" > input.txt # create an example file
10-
- uses: docker://pandoc/core:3.5
10+
- uses: docker://pandoc/core:3.8
1111
with:
1212
args: >- # allows you to break string into multiple lines
1313
--standalone

.github/workflows/simple.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on: push
44

55
jobs:
66
convert_via_pandoc:
7-
runs-on: ubuntu-22.04
7+
runs-on: ubuntu-24.04
88
steps:
9-
- uses: docker://pandoc/core:3.5
9+
- uses: docker://pandoc/core:3.8
1010
with:
1111
args: "--help" # gets appended to pandoc command

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)