Skip to content

Commit

Permalink
update the pdf file
Browse files Browse the repository at this point in the history
  • Loading branch information
MoustafaAMahmoud committed Jun 4, 2024
1 parent 94d10c4 commit 5cf9379
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,8 @@ jobs:
- name: Check pdf files
run: |
file main.pdf | grep -q ' PDF '
- name: Rename pdf file
run: |
DATE=$(date +%Y-%m-%d)
COMMIT_HASH=$(git rev-parse --short HEAD)
mv main.pdf "main_${DATE}_${COMMIT_HASH}.pdf"
- name: Upload
uses: actions/upload-artifact@master
with:
name: main.pdf
path: "main_${DATE}_${COMMIT_HASH}.pdf"
path: main.pdf

0 comments on commit 5cf9379

Please sign in to comment.