From 32538b42463267fe9ee959d50bfd6dc39b3aa0bd Mon Sep 17 00:00:00 2001 From: KenCanDoIT Date: Wed, 22 Jun 2022 14:23:23 +0800 Subject: [PATCH] Update compile-and-release.yml Reorder the flow for correct legacy pdf --- .github/workflows/compile-and-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: |