name resume the right thing from the beginning
All checks were successful
Build Resume / build (push) Successful in 3s
All checks were successful
Build Resume / build (push) Successful in 3s
This commit is contained in:
parent
bc5fe20d46
commit
54bef6ca3c
2 changed files with 7 additions and 6 deletions
|
|
@ -10,10 +10,7 @@ jobs:
|
|||
run: docker run --rm -w /doc -v $PWD:/doc thomasweise/docker-texlive-full make
|
||||
- name: Rename PDFs
|
||||
run: |
|
||||
TIMESTAMP=$(date +%Y-%m-%dT%H-%M-%S%z)
|
||||
BUILT=$(ls examples/resume_jm_tremblay*.pdf)
|
||||
cp "$BUILT" "examples/resume_jm_tremblay_${TIMESTAMP}.pdf"
|
||||
cp "$BUILT" examples/resume_jm_tremblay_latest.pdf
|
||||
cp examples/resume_jm_tremblay_*.pdf examples/resume_jm_tremblay_latest.pdf
|
||||
- name: Upload PDF
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
|
|
|||
8
Makefile
8
Makefile
|
|
@ -8,6 +8,10 @@ RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
|
|||
CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
|
||||
|
||||
|
||||
# resume.pdf: $(EXAMPLES_DIR)/resume_jm_tremblay.tex $(RESUME_SRCS)
|
||||
# $(CC) -output-directory=$(EXAMPLES_DIR) $<
|
||||
# mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y_%m_%d).pdf
|
||||
|
||||
resume.pdf: $(EXAMPLES_DIR)/resume_jm_tremblay.tex $(RESUME_SRCS)
|
||||
$(CC) -output-directory=$(EXAMPLES_DIR) $<
|
||||
mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y_%m_%d).pdf
|
||||
$(CC) -output-directory=$(EXAMPLES_DIR) $
|
||||
mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y-%m-%dT%H-%M-%S%z).pdf
|
||||
Loading…
Reference in a new issue