name resume the right thing from the beginning
All checks were successful
Build Resume / build (push) Successful in 3s

This commit is contained in:
Jean-Michel Tremblay 2026-04-19 21:43:05 -04:00
parent bc5fe20d46
commit 54bef6ca3c
2 changed files with 7 additions and 6 deletions

View file

@ -10,10 +10,7 @@ jobs:
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 make
- name: Rename PDFs - name: Rename PDFs
run: | run: |
TIMESTAMP=$(date +%Y-%m-%dT%H-%M-%S%z) cp examples/resume_jm_tremblay_*.pdf examples/resume_jm_tremblay_latest.pdf
BUILT=$(ls examples/resume_jm_tremblay*.pdf)
cp "$BUILT" "examples/resume_jm_tremblay_${TIMESTAMP}.pdf"
cp "$BUILT" examples/resume_jm_tremblay_latest.pdf
- name: Upload PDF - name: Upload PDF
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:

View file

@ -8,6 +8,10 @@ RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
CV_SRCS = $(shell find $(CV_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) resume.pdf: $(EXAMPLES_DIR)/resume_jm_tremblay.tex $(RESUME_SRCS)
$(CC) -output-directory=$(EXAMPLES_DIR) $< $(CC) -output-directory=$(EXAMPLES_DIR) $
mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y_%m_%d).pdf mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y-%m-%dT%H-%M-%S%z).pdf