mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
prevent .log files from deletion, needed for artifact upload
This commit is contained in:
parent
095ae89378
commit
57a3a1f92b
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build-pdf.yml
vendored
3
.github/workflows/build-pdf.yml
vendored
|
|
@ -23,7 +23,8 @@ jobs:
|
||||||
for style in casual classic banking oldstyle fancy contemporary
|
for style in casual classic banking oldstyle fancy contemporary
|
||||||
do
|
do
|
||||||
echo "Compiling style $style..."
|
echo "Compiling style $style..."
|
||||||
latexmk -c
|
# first cleanup, but keep .log files for later artifact upload
|
||||||
|
latexmk -c -e 'sub cleanup_generated { my $ext = $_[0]; return 0 if $ext eq "log"; return 1; }'
|
||||||
sed -i "s/moderncvstyle\[\]{contemporary}/moderncvstyle\[\]{${style}}/g" template.tex
|
sed -i "s/moderncvstyle\[\]{contemporary}/moderncvstyle\[\]{${style}}/g" template.tex
|
||||||
latexmk -pdflua ./template.tex
|
latexmk -pdflua ./template.tex
|
||||||
mv template.pdf template_${style}.pdf
|
mv template.pdf template_${style}.pdf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue