-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (36 loc) · 1000 Bytes
/
makefile.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
name: Makefile CI
permissions:
contents: write
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update Dependencies
run: sudo apt-get update
- name: Install LaTeX
run: sudo apt-get install -y texlive-xetex texlive-bibtex-extra biber
- name: Compile User Guide PDF
run: make
- uses: actions/upload-artifact@v3
with:
name: X16UsersGuide.pdf
path: x16_user_guide.pdf
- name: Compile Getting Started Guide PDF
run: make getting_started
- uses: actions/upload-artifact@v3
with:
name: X16GettingStarted.pdf
path: x16_getting_started.pdf
- name: Create release
uses: softprops/action-gh-release@v1
with:
tag_name: X16_Users_Guide
files: |
x16_user_guide.pdf
x16_getting_started.pdf