diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4ff2f8e..052ae4a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@master" + - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@v1.0.0" with: file: test.tex args: -pdf @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@master" + - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@v1.0.0" with: file: tests/subdir_test.tex - run: '(test -f subdir_test.dvi && echo DVI exists) || (echo DVI does not exist && exit 1)' @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@master" + - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@v1.0.0" with: file: test.tex output-directory: tests/output @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@master" + - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@v1.0.0" with: file: test.tex args: -help @@ -39,7 +39,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@master" + - uses: ./ # For real world usage this should be replaced by "antaljanosbenjamin/compile-latex@v1.0.0" with: file: tests/subdir_test.tex output-directory: tests/outputpdf diff --git a/README.md b/README.md index d29f8e7..2a7f6e0 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# Compile latex action -This action can be used to compile latex documents with `latexmk`. The action uses an ubuntu based [docker image](https://github.com/antaljanosbenjamin/latex-extra-docker). +# Compile LaTeX action +This action can be used to compile LaTeX documents with `latexmk`. The action uses an ubuntu based [docker image](https://github.com/antaljanosbenjamin/latex-extra-docker). -It calls `latexmk` in the working directory on a single tex file. +It calls `latexmk` in the working directory to compile a LaTeX document. ## Inputs ### `file` (required) @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: antaljanosbenjamin/compile-latex@master + - uses: antaljanosbenjamin/compile-latex@v1.0.0 with: file: test.tex args: -pdf