Skip to content

Commit

Permalink
install pip3, test install pdfnup
Browse files Browse the repository at this point in the history
  • Loading branch information
jr-b committed Jul 29, 2023
1 parent 4b46342 commit ebb66ee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
generate_pdf:
runs-on: ubuntu-latest
name: gen-pdf
name: generate-pdf
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ubuntu:latest
RUN ln -snf /usr/share/zoneinfo/Etc/UTC /etc/localtime \
&& echo "Etc/UTC" > /etc/timezone \
&& apt-get update && apt-get upgrade -y \
&& apt-get install texlive-latex-base texlive-xetex texlive-lang-french texlive-latex-extra texlive-fonts-recommended pandoc xzdec -y \
&& apt-get install python3-pip texlive-latex-base texlive-xetex texlive-lang-french texlive-latex-extra texlive-fonts-recommended pandoc xzdec -y \
&& rm -rf /var/lib/apt/lists/*

# Copy the application in folder found in $PATH
Expand Down
6 changes: 5 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,8 @@ pandoc -o output/out.pdf --pdf-engine=xelatex --template=input/main.tex input/ma
sleep 10

echo $(python3 -V) >> output/python-version
echo $(pip3 -V) >> output/python-version
echo $(pip3 -V) >> output/python-version

pip3 install --no-input pdfnup==0.4.1

echo $(pdfnup -h) >> output/pdfnup

0 comments on commit ebb66ee

Please sign in to comment.