'Actions on github including file from another directory
On github I have a repository with a xelatex file which makes use of a font which is in a relative path going up in the tree in the repository:
\setmainfont[Path = ../fonts/fontin2_pc/,
Extension = .ttf,
BoldFont = Fontin-Bold,
ItalicFont = Fontin-Italic,
SmallCapsFont = Fontin-SmallCaps
]
and the actions is as follows:
name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: example-class-relations--svg
uses: dante-ev/latex-action@latest
with:
root_file: en/cv.tex
compiler: xelatex
args: -interaction=nonstopmode -shell-escape
Now, locally this works fine, and the tex compiler finds the font without a problem. However, the action fails with a message that it cannot find the font(s). Is there something I am missing? The font files themselves are on the repo, just in a different path:
Repository
|
-- en
|
-- cv.tex
|
-- fonts
|
-- fontin2-pc
|
-- [font_files]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
