-
Notifications
You must be signed in to change notification settings - Fork 33
49 lines (40 loc) · 979 Bytes
/
check.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: check
on:
push:
branches:
-main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: reitzig/texlive-base:2023.1
options: --user root
env:
SRC_DIR: /__w/LNI/LNI
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Prepare build
run: |
/bin/entrypoint work pwd
fmtutils-sys --all
initexmf --mklangs
initexmf -u
- name: Build examples (using build.sh)
run: /bin/entrypoint work
- name: Upload build result
uses: actions/upload-artifact@v3
with:
name: PDFs
path: '/work/out'
- name: Prepare for CTAN
run: ./prepare_for_CTAN
- name: Upload CTAN build
uses: actions/upload-artifact@v3
with:
name: CTAN
path: '*.tar.gz'