refactor: Code split into smaller files #17
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: "FAP: Build and lint" | |
on: [push, pull_request] | |
jobs: | |
ufbt-build-action: | |
runs-on: ubuntu-latest | |
name: 'ufbt: Build for Dev branch' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build with ufbt | |
uses: flipperdevices/[email protected] | |
id: build-app | |
with: | |
# Set to 'release' to build for latest published release version or dev for develop | |
sdk-index-url: https://up.unleashedflip.com/directory.json | |
sdk-channel: release | |
app-dir: ./ModbusApp/ | |
- name: Upload app artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }} | |
path: ${{ steps.build-app.outputs.fap-artifacts }} |