Skip to content
play

GitHub Action

Compile and publish all LaTeX

2.0.27 Latest version

Compile and publish all LaTeX

play

Compile and publish all LaTeX

Checkout, compile LaTeX, compute a version, and deploy on GitHub in one shot

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Compile and publish all LaTeX

uses: DanySK/compile-and-publish-all-latex@2.0.27

Learn more about this action in DanySK/compile-and-publish-all-latex

Choose a version

Get your LaTeX files compiled and released on GitHub

FOSSA Status

This composite action should provide an all-in-one solution for having your LaTeX documents compiled and published on GitHub.

name: Build LaTeX and deploy on GitHub Releases
on:
  push:

jobs:
  Setup-Compile-Deploy:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: DanySK/compile-and-publish-all-latex@master
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

Maybe pick the latest version instead of master...

Note

LaTeX is compiled with DanySK/compile-latex-action, read its documentation to avoid pitfalls!

Generating diffs

This action supports the generation of differential documents by wrappin auto-latexdiff. Diffs can be enabled by setting diff-enable to true.

Available options

The following snippet launches the action with all parameters set to their default value.

name: Build LaTeX and deploy on GitHub Releases
on:
  push:

jobs:
  Setup-Compile-Deploy:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - uses: DanySK/compile-and-publish-all-latex@master
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          # All the following parameters are optional, and these are their default values
          diff-enable: false
          diff-files: |
            **/*.tex
          diff-lightweight-tags: false
          diff-tag-regex: |
            .*
          publish-enable: true

License

FOSSA Status