import org.apache.pdfbox.pdmodel.PDDocument; import org.apache.pdfbox.text.PDFTextStripper; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import javax.imageio.ImageIO; public class PDFComparator
- name: Build and run PDF comparison run: | mvn compile mvn exec:java -Dexec.mainClass="PDFComparisonApp" \ -Dexec.args="$ github.event.inputs.pdf1 $ github.event.inputs.pdf2 \ --github-token $ secrets.GITHUB_TOKEN \ --repo $ github.repository " java by comparison pdf github
steps: - uses: actions/checkout@v3
jobs: compare-pdfs: runs-on: ubuntu-latest import org