Skip to content

Commit 2b6a8d5

Browse files
committed
fixed issue in new workflow
1 parent 3254120 commit 2b6a8d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/latex.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
uses: xu-cheng/latex-action@v3
4545
with:
4646
root_file: main.tex
47+
args: "-jobname=KaplanKyla_CV"
4748

4849
- name: ensure pdf exists
4950
run: |
@@ -55,7 +56,7 @@ jobs:
5556
- name: create github release
5657
id: create_release
5758
uses: actions/[email protected]
58-
if: "!startsWith(github.ref, 'refs/tags/')" # Only create a release if not triggered by a tag push
59+
if: "!startsWith(github.ref, 'refs/tags/')"
5960
with:
6061
tag_name: ${{ env.version }}
6162
release_name: "KaplanKyla CV ${{ env.version }}"
@@ -69,7 +70,7 @@ jobs:
6970
uses: softprops/action-gh-release@v1
7071
if: startsWith(github.ref, 'refs/tags/') || steps.create_release.outputs.upload_url
7172
with:
72-
files: cv.pdf
73+
files: KaplanKyla_CV.pdf
7374
body: "Curriculum Vitae compiled from LaTeX."
7475
env:
7576
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)