-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 765 Bytes
/
cd.yml
File metadata and controls
30 lines (27 loc) · 765 Bytes
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
name: 'Continuous delivery'
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/cache@v3
name: Setup 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 }}
biber-version: "2.17"
- name: Run Tectonic and Biber
run: tectonic -X build
- name: Upload pdf
uses: actions/upload-artifact@v3
with:
name: Document
path: build/default/default.pdf