Skip to content

Commit

Permalink
Update references to use v1.0.0 instead of master and replace latex b…
Browse files Browse the repository at this point in the history
…y LaTeX in readme
  • Loading branch information
antaljanosbenjamin committed Dec 31, 2020
1 parent 1722585 commit 9bd5857
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -14,15 +14,15 @@ 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)'
test-output-directory:
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
Expand All @@ -31,15 +31,15 @@ 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
test-full:
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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 9bd5857

Please sign in to comment.