diff --git a/README.md b/README.md index b02de2e..ed93445 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ jobs: - uses: yegor256/latexmk-action@0.1.16 with: path: foo + opts: -pdf packages: acmart tikz ``` @@ -24,6 +25,12 @@ which configures the behavior of [latexmk](https://mg.readthedocs.io/latexmk.htm If you don't have special requirements in your project, and just need to compile a `.tex` file, skip the config, everything should work out of the box. +The options available (provided via the `with` YAML element): + + * `path` is a relative path of the directory with `.tex` file(s) + * `opts` is the options to pass to `latexmk` + * `packages` is a comma-separated list of TeXLive package to install + In order to test this action, just run: ```bash diff --git a/entry.sh b/entry.sh index 8556b9d..9b80a3a 100755 --- a/entry.sh +++ b/entry.sh @@ -32,4 +32,4 @@ if [[ "${INPUT_PACKAGES}" ]]; then tlmgr --verify-repo=none install ${INPUT_PACKAGES} fi -latexmk +latexmk ${INPUT_OPTS}