Warning Project will no longer be maintained! Please use an official github action https://github.com/flipperdevices/flipperzero-ufbt-action
-
Saves ufbt cache for your repository as you run it and automatically updates it as needed. More about managing caches.
-
Has error matching and shows errors in Annotations section of the Summary.
-
Uploads artifact after successful build.
Is not required. Sets the path to a folder where your fap source code is located if it is not in repository root.
Is not required. Sets a channel, from which SDK should be pulled. Can be dev
, rc
, release
. When not specified, defaults to dev
.
Is not required. Will only lint your code without building. Can be true
or false
. When not specified, defaults to false
.
Example of a workflow, that will pull SDK from rc
channel and build your fap:
name: Build FAP
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: oleksiikutuzov/flipperzero-ufbt-action@v2
with:
channel: rc
Example of a workflow, that will pull SDK from default dev
channel and lint your code located in lightmeter-fap
directory:
name: Lint code
on:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Lint
uses: oleksiikutuzov/flipperzero-ufbt-action@v2
with:
path: lightmeter-fap
lint_only: true
- Preparation to ufbt changes
- Refactor action
- Add problem matcher
- Inputs naming overhaul
- Inputs naming overhaul
- Support for lint command
- Do not use external action for jq
- Automatically set artifact name to fap name
- Push artifact after successful build
- Added
channel
input to set SDK channel
- First release