Skip to content

Commit d4f7c34

Browse files
Update latexmk parameters to make the action work
-cd is necessary for bib files switching the order of args and input file are necessary because otherwise latexmk cannot handle it
1 parent 39f5518 commit d4f7c34

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

action.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ runs:
2020
image: docker://antaljanosbenjamin/latex-extra:latest
2121
entrypoint: latexmk
2222
args:
23+
- -cd # change to directory of source file when processing it
2324
- -output-directory=/github/workspace/${{ inputs.working-directory }}
24-
- ${{ inputs.args }}
25-
- /github/workspace/${{ inputs.file }}
25+
- /github/workspace/${{ inputs.file }}
26+
- ${{ inputs.args }}

0 commit comments

Comments
 (0)