Skip to content

Added build workflow #4

Added build workflow

Added build workflow #4

Workflow file for this run

name: Build faps
on:
push:
branches:
- dev
pull_request:
workflow_dispatch:
inputs:
sdk-branch:
description: 'SDK channel to use'
required: true
default: 'rc'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up ufbt
uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
with:
sdk-channel: ${{ github.event.inputs.sdk-branch }}
task: setup
- name: Build & lint all apps
run: |
for appdir in $( dirname $( find . -name application.fam ) ) ; do
echo "Building in $appdir"
pushd $appdir
ufbt lint faps
popd
done
- name: Upload all .fap files
uses: actions/upload-artifact@v3
with:
name: faps
path: |
./**/*.fap