Skip to content
pdfkilnPublic

About

GitHub Action that installs PDFKiln, the drop-in replacement for wkhtmltopdf powered by Chromium

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup PDFKiln

A GitHub Action that installs PDFKiln, the drop-in replacement for wkhtmltopdf powered by Chromium, and puts wkhtmltopdf, wkhtmltoimage and pdfkiln on the PATH: the tests of a project that calls wkhtmltopdf run unchanged, on runners where wkhtmltopdf no longer installs (Ubuntu 25.04 and later, macOS without its Homebrew cask).

- uses: pdfkiln/setup@v1
- run: wkhtmltopdf --version

The release archive of the runner's platform is checked against the release's SHA256SUMS, then kept in the tool cache. Platforms: Linux x64 and ARM64, macOS ARM64, Windows x64 (ARM in emulation). On Ubuntu 23.10 and later, the action loads the AppArmor profile Chromium's sandbox needs (with sudo, which GitHub's runners allow).

Input Default
version latest a release of PDFKiln, such as 1.1.0
token github.token asks the GitHub API for the latest release
Output
version the version installed
path the folder of wkhtmltopdf, wkhtmltoimage and pdfkiln

In a container job, Chromium needs the system libraries the Debian package depends on, and Docker's default seccomp profile stops its sandbox: see the README of PDFKiln.

PDFKiln is not affiliated with the wkhtmltopdf project. MIT license.

About

GitHub Action that installs PDFKiln, the drop-in replacement for wkhtmltopdf powered by Chromium

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages