-
Notifications
You must be signed in to change notification settings - Fork 36
33 lines (31 loc) · 1.14 KB
/
pandoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Pandoc
on: workflow_dispatch
jobs:
convert_via_pandoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install pandoc and pandoc-crossref
run: |
wget https://github.com/jgm/pandoc/releases/download/3.1.8/pandoc-3.1.8-1-amd64.deb
sudo dpkg -i pandoc-3.1.8-1-amd64.deb
rm pandoc-3.1.8-1-amd64.deb
wget https://github.com/lierdakil/pandoc-crossref/releases/download/v0.3.17.0/pandoc-crossref-Linux.tar.xz
tar -xvf pandoc-crossref-Linux.tar.xz
sudo mv pandoc-crossref /usr/bin
- uses: actions/cache@v3
name: Tectonic Cache
with:
path: ~/.cache/Tectonic
key: ${{ runner.os }}-tectonic-${{ hashFiles('**/*.tex') }}
restore-keys: |
${{ runner.os }}-tectonic-
- uses: wtfjoke/setup-tectonic@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: |
export APPIMAGE_EXTRACT_AND_RUN=1
make all
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
with:
message: 'GitHub action artefacts added'