Skip to content

Commit

Permalink
Render PDF as PNG in the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo1003 committed Oct 16, 2023
1 parent 7b9d437 commit 3eaec85
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,23 @@ jobs:
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: Resume
name: PDF Resume
path: resume.pdf
if-no-files-found: error
render:
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
- name: Install poppler-utils
run: sudo apt install -y poppler-utils
- name: Render resume as PNG
run: pdftoppm resume.pdf resume -png
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: PNG Resume
path: '*.png'
if-no-files-found: error

0 comments on commit 3eaec85

Please sign in to comment.