diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 791189d9..a2c14e88 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -56,8 +56,10 @@ jobs: ] - name: Print settings.xml run: cat /home/runner/.m2/settings.xml + - name: Install weasyprint + run: apt install python3-pip libpango-1.0-0 libpangoft2-1.0-0 && python3 -m venv venv && source venv/bin/activate && pip install weasyprint && weasyprint --info - name: Build with Maven - run: mvn --batch-mode clean package -P polarion2404,install-weasyprint,tests-with-weasyprint-cli + run: mvn --batch-mode clean package -P polarion2404,tests-with-weasyprint-cli - name: Extract artefact version id: artefact_version run: echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_OUTPUT