Skip to content

Commit

Permalink
Update Action
Browse files Browse the repository at this point in the history
Signed-off-by: Marcello Seri <marcello.seri@gmail.com>
  • Loading branch information
mseri committed Sep 5, 2024
1 parent 81acdc5 commit 7fd3799
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/generate_pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Prepare env
run: |
sudo apt update
sudo apt install fonts-opendyslexic fonts-texgyre texlive-bibtex-extra biber
sudo rm -rf /usr/share/fonts/woff/opendyslexic
mkdir assets
# - name: Prepare env
# run: |
# sudo apt update
# sudo apt install fonts-opendyslexic fonts-texgyre texlive-bibtex-extra biber
# sudo rm -rf /usr/share/fonts/woff/opendyslexic
# mkdir assets

# - name: Run Tectonic
# run: |
Expand All @@ -67,10 +67,13 @@ jobs:
- name: compile.sh
uses: dante-ev/latex-action@latest
with:
extra_system_packages: fonts-opendyslexic fonts-texgyre texlive-bibtex-extra biber
entrypoint: ./compile.sh

- name: rename tg
run: mv hm.pdf assets/hm-tg.pdf
run: |
mkdir assets
mv hm.pdf assets/hm-tg.pdf
- name: Upload PDF
if: ${{ success() }}
Expand Down

0 comments on commit 7fd3799

Please sign in to comment.