Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiphereth-A committed Oct 20, 2023
1 parent e8e121c commit 883fa90
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,27 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: Build the LaTeX document
uses: xu-cheng/latex-action@v2
with:
latexmk_use_xelatex: true
latexmk_shell_escape: true
args: "-pdf -file-line-error -halt-on-error -interaction=nonstopmode -8bit"
pre_compile: |
wget -q -O fira.zip "https://github.com/mozilla/Fira/archive/refs/tags/4.106.zip"
wget -q -O firacode.zip "https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip"
unzip -q firacode.zip -d firacode
unzip -q fira.zip -d fira
wget -v -O fira.zip "https://github.com/mozilla/Fira/archive/refs/tags/4.106.zip"
wget -v -O firacode.zip "https://github.com/tonsky/FiraCode/releases/download/6.2/Fira_Code_v6.2.zip"
unzip -v firacode.zip -d firacode
unzip -v fira.zip -d fira
cp -r firacode /usr/share/fonts
cp -r fira /usr/share/fonts
fc-cache -f
pip install -r requirements.txt
python manager.py -L debug gen-cs
python manager.py -L debug gen-nb
root_file: notebook.tex
- name: Create Release
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit 883fa90

Please sign in to comment.