flipperdevices/Build Flipper Application Package (.fap)
Provides a composite action to install `ufbt`, build and lint applications for Flipper Zero.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| app-dir | Path to application's source code (if not the root of repository) | no | . |
| task | Task to run. Valid values: 'build', 'lint', 'setup' | no | build |
| ufbt-args | Extra arguments to pass to 'ufbt' for build and lint tasks. Default is '-s' to suppress ufbt output and only show subprocess output | no | -s |
| skip-setup | Skip ufbt setup. Useful for multiple invocation of the action | no | ${{ false }} |
| sdk-channel | Release channel to use. Matches argument "--channel" for ufbt update | no | "" |
| sdk-branch | Branch to use for updates. Matches argument "--branch" for ufbt update | no | "" |
| sdk-index-url | Index URL to use for updates. Matches argument "--index-url" for ufbt update | no | "" |
| sdk-file | Path to SDK archive. Matches argument "--local" for ufbt update | no | "" |
| sdk-url | URL to SDK archive. Matches argument "--url" for ufbt update | no | "" |
| sdk-hw-target | Hardware target to use. Matches argument "--hw-target" for ufbt update | no | "" |
| ufbt-version | ufbt version to use. Can be 'latest', 'prerelease' or a specific version from PyPI (e.g. '==0.2.1') | no | latest |
Outputs
| name | description |
|---|---|
| fap-artifacts | Build artifacts |
| fap-dir | Directory containing application build artifacts |
| api-version | API version. Set by build task |
| suffix | String, combination of hardware target, API version & SDK version. Set by build task |
| lint-messages | Linter output. Set by lint task |
| build-errors | Build errors. Set by build task |
| ufbt-status | JSON status object for ufbt. Use with fromJSON() |
| toolchain-version | Toolchain version |