build.yaml 889 B

1234567891011121314151617181920212223242526272829303132
  1. name: "FAP: Build and lint"
  2. on:
  3. push:
  4. pull_request:
  5. schedule:
  6. # do a build every day
  7. - cron: "1 1 * * *"
  8. jobs:
  9. ufbt-build-action:
  10. runs-on: ubuntu-latest
  11. name: 'ufbt: Build for Release branch'
  12. steps:
  13. - name: Checkout
  14. uses: actions/checkout@v4
  15. with:
  16. submodules: true
  17. # - name: Lint sources
  18. # uses: flipperdevices/flipperzero-ufbt-action@v0.1
  19. # with:
  20. # task: lint
  21. - name: Build with ufbt
  22. uses: flipperdevices/flipperzero-ufbt-action@v0.1
  23. id: build-app
  24. with:
  25. # skip-setup: true
  26. sdk-channel: release
  27. - name: Upload app artifacts
  28. uses: actions/upload-artifact@v4
  29. with:
  30. name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
  31. path: ${{ steps.build-app.outputs.fap-artifacts }}