Reusable workflow which compiles and releases LaTeX and Typst documents every time commited
Settings/Actions/General/Workflow Permissions
to Read and write permissions
.github/workflows/release.yaml
name: Build LaTeX/Typst document and Create Release
on:
push:
branches:
- main
pull_request:
jobs:
release:
uses: 34j/latex-typst-compile-and-release-reusable-workflow/.github/workflows/release.yaml@main
secrets:
gh_pat: ${{ secrets.GITHUB_TOKEN }}
name: Build LaTeX/Typst document and Create Release
on:
push:
branches:
- main
pull_request:
jobs:
release:
uses: 34j/latex-typst-compile-and-release-reusable-workflow/.github/workflows/release.yaml@main
with:
cluttex_parallel: true
cluttex: false
latexmk: false
typst: true
upload_artifact: true
upload_release: true
fonts: '"Roboto" "Noto Sans" "Noto Serif"' # Google Fonts
secrets:
gh_pat: ${{ secrets.GITHUB_TOKEN }}