Skip to content

Commit

Permalink
automatically convert pdf to docx in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamkadaban committed Aug 28, 2024
1 parent 8e5c848 commit 7eeeb41
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ jobs:

- name: "Install dependencies"
run: |
sudo apt install latexmk texlive-latex-base texlive-latex-extra texlive-latex-recommended
sudo apt install latexmk texlive-latex-base texlive-latex-extra texlive-latex-recommended pipx
pipx install pdf2docx
- name: "Build"
run: |
latexmk -pdf main.tex
mv "main.pdf" "UFSIT_Constitution.pdf"
~/.local/bin/pdf2docx convert "UFSIT_Constitution.pdf"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
Expand All @@ -31,3 +33,4 @@ jobs:
title: "Latest Build"
files: |
*.pdf
*.docx

0 comments on commit 7eeeb41

Please sign in to comment.