ufbt_build.yml 993 B

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