Skip to content

Commit 5c1b0d7

Browse files
committed
tectonic action
1 parent a60b0e7 commit 5c1b0d7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

actions/latex/action.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@ runs:
3939
# ./tectonic "${{ env.TEX_FILE }}" --outdir compiled
4040
# tree compiled
4141

42-
- uses: wtfjoke/setup-tectonic@v3
43-
44-
- run: tectonic ${{ env.TEX_FILE }} --outdir compiled
42+
- name: Install Tectonic
43+
uses: wtfjoke/setup-tectonic@v3
4544

45+
- name: Compile LaTeX document
46+
shell: bash
47+
run: |
48+
mkdir -p compiled
49+
tectonic ${{ env.TEX_FILE }} --outdir compiled

src/tests/test_actions/test_latex_action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ def test_latex_action_structure(action_path):
6666
assert compile_step is not None, "Action must have a Compile LaTeX document step"
6767

6868
# Check step details
69-
assert "curl" in install_step["run"], "Install step must use curl to install Tectonic"
69+
assert "wtfjoke/setup-tectonic" in install_step["uses"], "Install step must use wtfjoke/setup-tectonic"
7070
assert "tectonic" in compile_step["run"], "Compile step must use tectonic"

0 commit comments

Comments
 (0)