Skip to content

Commit

Permalink
Update compile-and-release.yml
Browse files Browse the repository at this point in the history
Reorder the flow for correct legacy pdf
  • Loading branch information
kenlee0305 authored Jun 22, 2022
1 parent 1a214f6 commit 32538b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/compile-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
steps:
- name: Set up Git repository
uses: actions/checkout@v2

- name: Create legacy pdf
run: cp Lee-Ka-Chun_Resume.pdf "./legacy/Lee-Ka-Chun_Resume_$(date +%b)_$(date +%Y).pdf"

- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
Expand All @@ -30,9 +33,6 @@ jobs:
fc-cache -f
args: |
-pdf -interaction=nonstopmode -halt-on-error -jobname=Lee-Ka-Chun_Resume
- name: Create legacy pdf
run: cp Lee-Ka-Chun_Resume.pdf "./legacy/Lee-Ka-Chun_Resume_$(date +%b)_$(date +%Y).pdf"
- name: Commit and push compiled pdf
run: |
Expand Down

0 comments on commit 32538b4

Please sign in to comment.