Skip to content

re-placed workflow

re-placed workflow #5

Workflow file for this run

name: LaTeX PDF Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository
- name: Checkout repository
uses: actions/checkout@v2
# Step 2: Set up TeX Live (LaTeX environment)
- name: Set up TeX Live
uses: dante-ev/action-texlive@v1
with:
texlive_version: '2020'
# Step 3: Install make (required to run your Makefile)
- name: Install make
run: sudo apt-get install make
# Step 4: Build the PDF using the Makefile
- name: Build PDF using Makefile
run: make
# Step 5: Upload the generated PDF as an artifact
- name: Upload PDF artifact
uses: actions/upload-artifact@v2
with:
name: lammps-tutorials-pdf
path: lammps-tutorials.pdf