ufbt.yaml 989 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: "uFBT Build"
  2. on:
  3. workflow_dispatch:
  4. push:
  5. branches:
  6. - main
  7. - develop
  8. pull_request:
  9. # schedule:
  10. # do a build every day
  11. # - cron: "1 1 * * *"
  12. jobs:
  13. ufbt-build-action:
  14. runs-on: ubuntu-latest
  15. strategy:
  16. matrix:
  17. include:
  18. - name: dev channel
  19. sdk-channel: dev
  20. - name: release channel
  21. sdk-channel: release
  22. name: 'ufbt: Build for ${{ matrix.name }}'
  23. steps:
  24. - name: Checkout
  25. uses: actions/checkout@v4
  26. - name: Build with ufbt
  27. uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
  28. id: build-app
  29. with:
  30. sdk-channel: ${{ matrix.sdk-channel }}
  31. sdk-index-url: ${{ matrix.sdk-index-url }}
  32. - name: Upload app artifacts
  33. uses: actions/upload-artifact@v4
  34. with:
  35. name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
  36. path: ${{ steps.build-app.outputs.fap-artifacts }}