diff --git a/.github/workflows/compile-and-release.yml b/.github/workflows/compile-and-release.yml index 8ab220c..71959c1 100644 --- a/.github/workflows/compile-and-release.yml +++ b/.github/workflows/compile-and-release.yml @@ -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 @@ -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: |