Skip to content

Commit 7faca3f

Browse files
committed
re-placed workflow
1 parent d4a38da commit 7faca3f

File tree

3 files changed

+39
-17
lines changed

3 files changed

+39
-17
lines changed

.github/workflows/latexmk.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: LaTeX PDF Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
# Step 1: Checkout the repository
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
20+
# Step 2: Set up TeX Live (LaTeX environment)
21+
- name: Set up TeX Live
22+
uses: dante-ev/action-texlive@v1
23+
with:
24+
texlive_version: '2020'
25+
26+
# Step 3: Install make (required to run your Makefile)
27+
- name: Install make
28+
run: sudo apt-get install make
29+
30+
# Step 4: Build the PDF using the Makefile
31+
- name: Build PDF using Makefile
32+
run: make
33+
34+
# Step 5: Upload the generated PDF as an artifact
35+
- name: Upload PDF artifact
36+
uses: actions/upload-artifact@v2
37+
with:
38+
name: lammps-tutorials-pdf
39+
path: lammps-tutorials.pdf

.github/workflows/latexmk_yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

lammps-tutorials.tex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
\usepackage[title]{appendix}
4040
\usepackage{csquotes}
4141

42-
% \usepackage{inconsolata} % Load a font with no ligatures
43-
4442
\usepackage[
4543
type={CC},
4644
modifier={by-nc-sa},

0 commit comments

Comments
 (0)