Skip to content

Commit

Permalink
Use head_ref not ref
Browse files Browse the repository at this point in the history
  • Loading branch information
H0R5E committed Nov 4, 2024
1 parent ca24a2e commit e4c1158
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ jobs:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
if: github.head_ref == 'master'
uses: xu-cheng/latex-action@v3
with:
root_file: edengths.tex
args: "-pdfps -file-line-error -halt-on-error -interaction=nonstopmode"
- name: Compile LaTeX document
if: github.ref == 'refs/heads/nomencl'
if: github.head_ref == 'nomencl'
uses: xu-cheng/latex-action@v3
with:
root_file: edengths.tex
Expand Down

0 comments on commit e4c1158

Please sign in to comment.