Skip to content

Commit

Permalink
Install wkhtmltopdf
Browse files Browse the repository at this point in the history
  • Loading branch information
loevgaard committed Dec 8, 2022
1 parent 92b3e48 commit 7a466ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ jobs:
extensions: "${{ env.PHP_EXTENSIONS }}"
php-version: "${{ matrix.php-version }}"
tools: "flex,symfony"

- name: "Setup node"
uses: "actions/setup-node@v3"
with:
Expand All @@ -235,6 +235,9 @@ jobs:
with:
dependency-versions: "${{ matrix.dependencies }}"

- name: "Install wkhtmltopdf"
run: "sudo apt-get install wkhtmltopdf"

- name: "Lint container"
# Do not lint on SF4 because we get this error: Invalid definition for service "doctrine.migrations.dependency_factory": argument 2 of "Doctrine\Migrations\DependencyFactory::setDefinition()" accepts "callable", "SyliusLabs\DoctrineMigrationsExtraBundle\Factory\ContainerAwareVersionFactory" passed.
# Note: We cannot use the if statement here, because of https://github.community/t/matrix-cannot-be-used-in-jobs-level-if/17177/10
Expand All @@ -248,7 +251,7 @@ jobs:

- name: "Validate Doctrine mapping"
run: "(cd tests/Application && bin/console doctrine:schema:validate -vvv)"

- name: "Get Yarn cache directory"
id: "yarn-cache"
run: "echo \"::set-output name=dir::$(yarn cache dir)\""
Expand Down

0 comments on commit 7a466ff

Please sign in to comment.