Skip to content

A minimal example of a Latex document, with a GitHub action to build the PDF automatically when the main branch is updated.

Notifications You must be signed in to change notification settings

spig95/latex-and-actions-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Latex and GitHub actions introduction

This repo shows a minimal Latex example and implements a GitHub action that automatically builds an artifact containing the compiled PDF Latex document.

After every push on the main branch a GitHub action is triggered. The action compiles a latex document and publishes it as an artifact.

Latex installation

You need to install a Tex distribution, and then you can use the editor of your choice to work with Latex.

Once you installed the two components mentioned above, you can use your editor and open the file in latex-example/latex_example.tex.

Github Actions

GitHub actions automatize the CI/CD process and can be used for a variety of things. For instance, we can use them to validate the code inside a PR.

Most of the times you don't have to write actions yourself but you can search for them in the actions marketplace.

In this repo, we implement latex-action@v2 by writing a .yml file in .github/workflows/main.yml. We trigger the action everytime someone pushes on main or opens a PR on main.

About

A minimal example of a Latex document, with a GitHub action to build the PDF automatically when the main branch is updated.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages