Skip to content

Commit

Permalink
change the name of the output file with the date
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Jul 12, 2023
1 parent fea64b5 commit 3afe011
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@ jobs:
sudo apt update && sudo apt upgrade
sudo apt install texlive-full latex-mk
- name: date
run: echo "resume_file=resume_antoine_stevan_$(date +%Y_%m_%d).pdf" >> "$GITHUB_ENV"

- name: build
run: make resume
run: |
make resume
mv main.pdf ${{ env.resume_file }}
- name: publish
uses: softprops/action-gh-release@v0.1.13
with:
files: main.pdf
body: "## :point_right: [download the resume](https://github.com/amtoine/resume/releases/download/${{ github.ref_name }}/main.pdf)"
files: ${{ env.resume_file }}
body: "## :point_right: [download the resume](https://github.com/amtoine/resume/releases/download/${{ github.ref_name }}/${{ env.resume_file }})"

0 comments on commit 3afe011

Please sign in to comment.