From 724991822f0efa2a3fd99167c20539eb6c0dd077 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Thu, 5 Sep 2024 20:47:41 -0400 Subject: [PATCH] `preview.pdf` -> `citation-preview.pdf` --- .github/workflows/citation.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/citation.yml b/.github/workflows/citation.yml index b96c83b7..6a018f0f 100644 --- a/.github/workflows/citation.yml +++ b/.github/workflows/citation.yml @@ -35,7 +35,7 @@ jobs: if [ -f "CITATION.bib" ]; then arr=(${GITHUB_REPOSITORY//\// }) export REPO=${arr[1]} - cat <<- EOF > preview.tex + cat <<- EOF > citation-preview.tex \documentclass[preprint,aps,physrev,notitlepage]{revtex4-2} \usepackage{hyperref} \begin{document} @@ -47,22 +47,22 @@ jobs: \bibliography{CITATION} \end{document} EOF - pdflatex preview + pdflatex citation-preview fi - name: Run BibTeX run: | if [ -f "CITATION.bib" ]; then - bibtex preview + bibtex citation-preview fi - name: Re-run LaTeX run: | if [ -f "CITATION.bib" ]; then - pdflatex preview - pdflatex preview + pdflatex citation-preview + pdflatex citation-preview fi - name: Upload PDF if: always() uses: actions/upload-artifact@v4 with: - name: preview.pdf - path: preview.pdf + name: citation-preview.pdf + path: citation-preview.pdf