bobthebuidler/Mypycify & Build Python Wheel

Build & cache a wheel for a mypyc C-extension, upload artifact for use, and optionally commit/PR non-.gitignored build files.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 22, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bobthebuidler/mypycify@18caa86e9637c50c585923dc84b225b4956a2fe4 # v0.5.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
hash-keyFile globs (YAML list of strings) to include in the hash key for caching. This input is required.yes
python-versionPython version to use (passed to actions/setup-python)yes
python-architectureOptional Python architecture passed to actions/setup-python, e.g. x86, x64, arm64. Empty preserves host/default behavior.no""
pip-cache-dependency-pathDependency files for actions/setup-python pip cache. This input is passed directly to the 'cache-dependency-path' parameter of actions/setup-python.no""
ccacheEnable ccache for C/C++ compilation (Linux/macOS only). Default: false.nofalse
push-sourceEnable auto-commit and push or PR of changes if build output changes.nofalse
direct-pushWhen push-source is true, whether to let poosh try a direct push before falling back to a PR branch.notrue
pr-branchWhen push-source is true, the PR branch poosh should create or update. Defaults to mypycify/{trigger-branch-name}.no""
pr-baseWhen push-source is true, the base branch for the generated PR. Defaults to poosh's trigger branch.no""
pr-branch-strategyWhen push-source is true, how poosh handles an existing PR branch: update, unique, or fail.noupdate
commit-messageCommit message to use when committing changes.nochore: compile C files for source control
normalize-sourceEnable normalization of C files for diffchecking.nofalse
trigger-pr-numberOptional: PR number of the triggering PR (e.g., 1234). If set, the PR body will include 'Triggered by #<number>'.no""
trigger-branch-nameOptional: Name of the triggering branch (e.g., feature/my-feature). Used in PR body if trigger-pr-number is not set.no""
build-commandCustom build command to run (default: 'python -m build --wheel'). If you use a custom command, you are responsible for ensuring all requirements are installed before mypycify or as part of the build command.nopython -m build --wheel
build-fromWhere to build the wheel from. Allowed values: 'source' (default), 'sdist'.nosource
namedescription
artifact-nameThe name of the uploaded wheel artifact.