Skip to content

Commit e8b7664

Browse files
author
Vladimir Kotal
committed
split actions
1 parent b838cb6 commit e8b7664

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

.github/workflows/compile.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ jobs:
2727
- name: Run spellcheck
2828
working-directory: master
2929
run: make spellcheck
30-
- name: Compile first phase
31-
working-directory: master
32-
run: make slides notes
33-
- name: Compile second phase to get table of contents
30+
- name: Compile
3431
working-directory: master
3532
run: make slides notes

.github/workflows/pdfs.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Create release with PDFs
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths:
7+
- '**.tex'
8+
- '**.m4'
9+
- '**.sty'
10+
- Makefile
11+
- .github/workflows/pdfs.yml
12+
- 'img/**'
13+
tags:
14+
- 'v*'
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Update the system
20+
run: sudo apt-get -qq update
21+
- name: Install pre-requisites for LaTeX
22+
run: ./dev/install-latex.sh
23+
- name: Checkout master branch
24+
uses: actions/checkout@v2
25+
with:
26+
path: master
27+
- name: Compile first phase
28+
working-directory: master
29+
run: make slides notes
30+
- name: Compile second phase to get table of contents
31+
working-directory: master
32+
run: make slides notes

0 commit comments

Comments
 (0)