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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 22, 2026
- License
- MIT
Pinned Snippet
uses: bobthebuidler/mypycify@18caa86e9637c50c585923dc84b225b4956a2fe4 # v0.5.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| hash-key | File globs (YAML list of strings) to include in the hash key for caching. This input is required. | yes | — |
| python-version | Python version to use (passed to actions/setup-python) | yes | — |
| python-architecture | Optional Python architecture passed to actions/setup-python, e.g. x86, x64, arm64. Empty preserves host/default behavior. | no | "" |
| pip-cache-dependency-path | Dependency files for actions/setup-python pip cache. This input is passed directly to the 'cache-dependency-path' parameter of actions/setup-python. | no | "" |
| ccache | Enable ccache for C/C++ compilation (Linux/macOS only). Default: false. | no | false |
| push-source | Enable auto-commit and push or PR of changes if build output changes. | no | false |
| direct-push | When push-source is true, whether to let poosh try a direct push before falling back to a PR branch. | no | true |
| pr-branch | When push-source is true, the PR branch poosh should create or update. Defaults to mypycify/{trigger-branch-name}. | no | "" |
| pr-base | When push-source is true, the base branch for the generated PR. Defaults to poosh's trigger branch. | no | "" |
| pr-branch-strategy | When push-source is true, how poosh handles an existing PR branch: update, unique, or fail. | no | update |
| commit-message | Commit message to use when committing changes. | no | chore: compile C files for source control |
| normalize-source | Enable normalization of C files for diffchecking. | no | false |
| trigger-pr-number | Optional: PR number of the triggering PR (e.g., 1234). If set, the PR body will include 'Triggered by #<number>'. | no | "" |
| trigger-branch-name | Optional: Name of the triggering branch (e.g., feature/my-feature). Used in PR body if trigger-pr-number is not set. | no | "" |
| build-command | Custom 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. | no | python -m build --wheel |
| build-from | Where to build the wheel from. Allowed values: 'source' (default), 'sdist'. | no | source |
Outputs
| name | description |
|---|---|
| artifact-name | The name of the uploaded wheel artifact. |