[FL-3603] Update RFID detector for the new NFC stack #90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build faps | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
sdk-channel: | |
description: 'SDK channel to use' | |
required: true | |
default: 'rc' | |
type: choice | |
options: | |
- 'rc' | |
- 'release' | |
- 'dev' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up ufbt | |
uses: flipperdevices/[email protected] | |
with: | |
sdk-channel: ${{ github.event.inputs.sdk-channel || 'rc'}} | |
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 | |
rm -rf dist || true && mkdir dist | |
for fapfile in $( find . -name "*.fap" ) ; do | |
cp $fapfile dist/ | |
done | |
- name: Upload all .fap files | |
uses: actions/upload-artifact@v3 | |
with: | |
name: faps | |
path: dist/*.fap |