This commit is contained in:
parent
880588ac37
commit
1850f3bc94
2 changed files with 15 additions and 4 deletions
|
|
@ -6,11 +6,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: git clone ${{ github.server_url }}/${{ github.repository }}.git .
|
run: git clone ${{ github.server_url }}/${{ github.repository }}.git .
|
||||||
|
# - name: Build
|
||||||
|
# run: docker run --rm -w /doc -v $PWD:/doc thomasweise/docker-texlive-full make
|
||||||
- name: Build
|
- name: Build
|
||||||
run: docker run --rm -w /doc -v $PWD:/doc thomasweise/docker-texlive-full make
|
run: docker run --rm -w /doc -v $PWD:/doc thomasweise/docker-texlive-full bash build.sh
|
||||||
- name: Rename PDFs
|
# - name: Rename PDFs
|
||||||
run: |
|
# run: |
|
||||||
cp examples/resume_jm_tremblay_*.pdf examples/resume_jm_tremblay_latest.pdf
|
# cp examples/resume_jm_tremblay_*.pdf examples/resume_jm_tremblay_latest.pdf
|
||||||
- name: Upload PDF
|
- name: Upload PDF
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
9
build.sh
Normal file
9
build.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
TIMESTAMP=$(date +%Y-%m-%dT%H-%M-%S%z)
|
||||||
|
|
||||||
|
xelatex -output-directory=examples examples/resume_jm_tremblay.tex
|
||||||
|
|
||||||
|
mv examples/resume_jm_tremblay.pdf examples/resume_jm_tremblay_${TIMESTAMP}.pdf
|
||||||
|
cp examples/resume_jm_tremblay_${TIMESTAMP}.pdf examples/resume_jm_tremblay_latest.pdf
|
||||||
Loading…
Reference in a new issue