Use venvs
This commit is contained in:
@@ -23,8 +23,9 @@ jobs:
|
||||
- name: Install weasyprint
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip libpango-1.0-0 libpangoft2-1.0-0
|
||||
pip3 install weasyprint
|
||||
sudo apt-get install -y python3-venv python3-pip libpango-1.0-0 libpangoft2-1.0-0
|
||||
python3 -m venv venv
|
||||
venv/bin/pip install weasyprint
|
||||
- name: Convert to pdf
|
||||
run: |
|
||||
weasyprint generated_resume.html resume.pdf
|
||||
|
||||
Reference in New Issue
Block a user