build.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: "FAP: Build for multiple SDK sources"
  2. # This will build your app for dev and release channels on GitHub.
  3. # It will also build your app every day to make sure it's up to date with the latest SDK changes.
  4. # See https://github.com/marketplace/actions/build-flipper-application-package-fap for more information
  5. on:
  6. push:
  7. branches:
  8. - main
  9. pull_request:
  10. schedule:
  11. # do a build every day
  12. - cron: "1 1 * * *"
  13. jobs:
  14. ufbt-build:
  15. runs-on: ubuntu-latest
  16. strategy:
  17. matrix:
  18. include:
  19. - name: dev channel
  20. sdk-channel: dev
  21. - name: release channel
  22. sdk-channel: release
  23. # You can add unofficial channels here. See ufbt action docs for more info.
  24. name: 'ufbt: Build for ${{ matrix.name }}'
  25. steps:
  26. - name: Checkout
  27. uses: actions/checkout@v4
  28. - name: Build with ufbt
  29. uses: flipperdevices/flipperzero-ufbt-action@v0.1
  30. id: build-app
  31. with:
  32. sdk-channel: ${{ matrix.sdk-channel }}
  33. - name: Upload app artifacts
  34. uses: actions/upload-artifact@v4
  35. with:
  36. # See ufbt action docs for other output variables
  37. name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
  38. path: ${{ steps.build-app.outputs.fap-artifacts }}