Merged
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Runs on the 1st and 15th of each month. Detects new bblanchon/pdfium-binaries releases via GitHub API, generates bindings, and opens a PR for review. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Gate SetupMSVC behind RuntimeInformation.IsOSPlatform check so the generator runs on Linux using CppSharp's bundled clang headers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Bump actions/checkout to v4, softprops/action-gh-release to v2 - Replace olegtarasov/get-tag with inline GITHUB_REF parsing - Add auto-tag job: creates version tag on master when an automated PDFium update PR is merged, triggering NuGet publish Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a runtime guard that aborts with an error if GITHUB_REF_NAME is not master, as defense-in-depth alongside the job-level if. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
check-update.yml: - Support specific version input via workflow_dispatch - Verify bblanchon.PDFium.Win32 exists on NuGet before proceeding - Commit directly to master and tag instead of creating a PR - Checkout pinned to master ref dotnet.yml: - Remove auto-tag job (cron handles tagging) - Replace download_package.sh with direct generator call using 'latest' Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Limit push trigger to master only (PR trigger handles branches) - Call generator with 'latest true' so Directory.Build.props and NuGet package references resolve to the latest bblanchon release Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automates the PDFium bindings update pipeline that was previously a manual process (run generator locally, commit, tag, push). Introduces a bi-weekly GitHub Action that detects new https://github.com/bblanchon/pdfium-binaries releases, generates C# bindings, and publishes to NuGet — fully hands-off.
What changed
New: .github/workflows/check-update.yml
Modified: .github/workflows/dotnet.yml
Modified: src/PDFiumCoreBindingsGenerator/PDFiumCoreLibrary.cs
Pipeline flow
Cron/Dispatch → Detect new version → Verify NuGet exists → Generate bindings
→ Build + Test → Commit to master → Tag → dotnet.yml publishes to NuGet
Test plan