adafruit/Build package of .mpy files
Build mpy-cross for usage in GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Feb 17, 2026
- License
- MIT
Pinned Snippet
uses: adafruit/build-mpy@9078cbecba992d2f94475eb2ddee7dbd00947083 # v2.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Your GitHub token, needed to upload the ZIP file | yes | — |
| circuitpy-version | The version of CircuitPython to use | yes | — |
| zip-filename | The name of the ZIP file to attach | yes | mpy-release.zip |
| mpy-directory | The directory to look for files to compile with mpy-cross. If none is provided, the root directory will be used. This also becomes the basis for filepaths in the mpy manifest file, if one is provided. | yes | . |
| mpy-manifest-file | Path to a manifest file containing filepaths to convert. If no manifest is provided, all applicable files will be converted. | yes | "" |
| mpy-manifest-type | The type of manifest to use for compiling if one is provided. The default is "include", but if "exclude" is provided, then all Python files EXCEPT the ones listed will be compiled with mpy-cross. | yes | include |
| zip-directory | The directory of files to bundle. If none is provided, the root directory will be used. This also becomes the basis for filepaths in the zip manifest file, if one is provided. | yes | . |
| zip-manifest-file | Path to a manifest file containing filepaths to include in the zip file. If no manifest is provided, all files will be included. Either this or exclude-zip-manifest can be defined. | yes | "" |
| zip-manifest-type | The type of manifest to use for zipping, if one is provided. The default is "include", but if "exclude" is provided, then all files EXCEPT the ones listed will be zipped. | yes | include |
| compiler-directory | The directory where the mpy-cross compiler will be downloaded. | yes | circuitpy-compiler |
Outputs
no outputs