Skip to content

Commit

Permalink
Update latexvalidation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
T0nyX1ang committed May 7, 2020
1 parent 91f8c89 commit 74dbb27
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/latexvalidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,3 @@ jobs:
with:
name: demo-document-default
path: demo-default.pdf

# Change file to dark mode
- name: Dark mode preparations
run: sed 's/usecolorstyle{default}/usecolorstyle{dark}/g' demo-default.tex > demo-dark.tex

# Compile the LaTeX document with XeLaTeX
- name: Github Action for LaTeX (Dark mode)
uses: xu-cheng/[email protected]
with:
root_file: demo-dark.tex
args: -xelatex -file-line-error -interaction=nonstopmode -shell-escape
extra_system_packages: "py-pygments"

# Upload demo to artifacts if the demo is compiled successfully
- name: Upload artifacts (Dark mode)
uses: actions/upload-artifact@v1
if: success()
with:
name: demo-document-dark
path: demo-dark.pdf

0 comments on commit 74dbb27

Please sign in to comment.