-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace pdflatex action with direct invocation of pdflatex
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,11 +12,12 @@ jobs: | |
steps: | ||
- name: Set up Git repository | ||
uses: actions/checkout@v4 | ||
- name: Compile LaTeX document | ||
uses: xu-cheng/latex-action@v3 | ||
with: | ||
args: -pdf -silent -pdflatex="/usr/texbin/pdflatex \documentclass[english]{article}\newcommand\columnnr{3}\usepackage[a4paper,margin=0.25cm,landscape]{geometry}\input{%S}\input{ada_reference_card_2022_en} | ||
root_file: ada_reference_card_2022_en.tex | ||
|
||
- name: Install dependencies | ||
run: sudo apt-get install texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra | ||
|
||
- name: Create A4 Landscape PDF | ||
run: pdflatex -jobname=ada_reference_card_2022_english_isoa4_landscape "\documentclass[english]{article}\newcommand\columnnr{3}\usepackage[a4paper,margin=0.25cm,landscape]{geometry}\input{ada_reference_card_2022_en}" | ||
|
||
- name: Delete 'continuous' release and tag | ||
uses: dev-drprasad/[email protected] | ||
|
@@ -27,7 +28,7 @@ jobs: | |
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: ada_reference_card_2022_en.pdf | ||
files: ada_reference_card_2022_english_isoa4_landscape.pdf | ||
prerelease: true | ||
generate_release_notes: true | ||
append_body: true | ||
|