build.yaml 774 B

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