-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (56 loc) · 1.54 KB
/
pdf.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
50
51
52
53
54
55
56
name: Continuous
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
run: |
sudo apt-get install poppler-utils python3-pip
python -m pip install -r requirements.txt
python CHARTS.py
python GENERATOR.py
- name: Compile
uses: xu-cheng/texlive-action@v2
with:
scheme: full
run: |
latexmk -pdf INTRO.tex
latexmk -pdf IMAGES.tex
- name: Convert
run: |
python CONVERTER.py
- name: Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: INTRO.pdf
asset_name: INTRO.pdf
tag: latest
overwrite: true
- name: Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: IMAGES.pdf
asset_name: IMAGES.pdf
tag: latest
overwrite: true
- name: Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: IMAGES.zip
asset_name: IMAGES.zip
tag: latest
overwrite: true
- name: Release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: WORKSHEET.zip
asset_name: WORKSHEET.zip
tag: latest
overwrite: true