@@ -35,23 +35,25 @@ jobs:
3535 pandoc
3636
3737 - name : Compile PDF
38- run : xelatex -interaction=nonstopmode -halt-on-error resume.tex
38+ run : |
39+ xelatex -interaction=nonstopmode -halt-on-error resume.tex
40+ mv resume.pdf Patrick-Hanford-Resume.pdf
3941
4042 - name : Generate Markdown
4143 run : node scripts/generate-readme.js
4244
4345 - name : Generate DOCX
44- run : pandoc resume .md -o resume .docx --from=markdown --to=docx
46+ run : pandoc Patrick-Hanford-Resume .md -o Patrick-Hanford-Resume .docx --from=markdown --to=docx
4547
4648 - name : Update README
47- run : cp resume .md README.md
49+ run : cp Patrick-Hanford-Resume .md README.md
4850
4951 - name : Commit generated files
5052 if : github.event_name == 'push'
5153 run : |
5254 git config user.name "github-actions[bot]"
5355 git config user.email "github-actions[bot]@users.noreply.github.com"
54- git add resume .md README.md
56+ git add Patrick-Hanford-Resume .md README.md
5557 git diff --staged --quiet || git commit -m "docs: regenerate resume formats"
5658 git push
5759
@@ -60,18 +62,18 @@ jobs:
6062 with :
6163 name : resume
6264 path : |
63- resume .pdf
64- resume .md
65- resume .docx
65+ Patrick-Hanford-Resume .pdf
66+ Patrick-Hanford-Resume .md
67+ Patrick-Hanford-Resume .docx
6668
6769 - name : Attach to release
6870 if : github.event_name == 'release'
6971 uses : softprops/action-gh-release@v2
7072 with :
7173 files : |
72- resume .pdf
73- resume .md
74- resume .docx
74+ Patrick-Hanford-Resume .pdf
75+ Patrick-Hanford-Resume .md
76+ Patrick-Hanford-Resume .docx
7577
7678 - name : Trigger content repo update
7779 if : github.event_name == 'push'
0 commit comments