Convert HTML into PDF/ua.
java -jar html-to-pdf-<version>-jar-with-dependencies.jar <input-html-file> -o <output-pdf-file>
This project uses Maven for building:
mvn clean package
This will create two JAR files in the target
directory:
html-to-pdf-<version>.jar
: The main JAR filehtml-to-pdf-<version>-jar-with-dependencies.jar
: A fat JAR with all dependencies included
This project uses GitHub Actions for continuous integration:
- Every push to the main branch and pull requests will trigger a build
- Creating a tag with format
v*
(e.g.,v1.0.0
) will:- Update the version in the project
- Create a GitHub release
- Attach the built JAR files to the release
To create a new release:
-
Create and push a new tag with the version number:
git tag v1.0.0 git push origin v1.0.0
-
The GitHub Actions workflow will automatically:
- Update the version in pom.xml and source code
- Build the project
- Create a GitHub release with the JAR files