natapol2547/Blender Extension Builder
Build and validate a Blender add-on into an extension .zip then draft a GitHub release tagged with the add-on version.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| source-dir | Directory containing blender_manifest.toml (the add-on root). | no | . |
| output-dir | Where the built .zip is written. Defaults to a temp directory outside the source tree. | no | "" |
| blender-version | Blender release to build with: 'latest' or an explicit MAJOR.MINOR.PATCH (e.g. 4.5.3). | no | latest |
| validate | Run the bundled extension validator on the built .zip; a failure blocks the release. | no | true |
| strict | Treat validator WARN findings as failures too. | no | false |
| create-release | Create a draft GitHub release with the built .zip, tagged with the add-on version. | no | true |
| tag-prefix | Prefix for the release tag (tag = prefix + manifest version, e.g. 'v1.2.3'). | no | v |
| github-token | Token used to create the draft release. Needs contents: write. | no | ${{ github.token }} |
| upload-artifact | Also upload the built .zip (and validation report) as a workflow artifact. | no | true |
| install-system-deps | apt-get install the X11/GL libraries Blender needs on a headless runner. | no | true |
Outputs
| name | description |
|---|---|
| zip-path | Path to the built extension .zip. |
| addon-id | Add-on id from blender_manifest.toml. |
| addon-version | Add-on version from blender_manifest.toml. |
| blender-version | Blender version the extension was built with. |
| release-url | URL of the draft release (empty when create-release is false). |