forked from sudheerj/angular-interview-questions
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 769 Bytes
/
main.yaml
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
name: Advanced Usage
on: [push, pull_request]
env:
FILE_NAME: angular-interview-questions
jobs:
convert_via_pandoc:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Create output directory
run: |
mkdir output # create output dir
- name: Create PDF
uses: docker://pandoc/latex:2.10
with:
args: --pdf-engine=xelatex --output=output/${{env.FILE_NAME}}.pdf README.md
- name: Create epub
uses: docker://pandoc/latex:2.10
with:
args: --output=output/${{env.FILE_NAME}}.epub README.md
- name: Upload
uses: actions/upload-artifact@master
with:
name: output
path: output