build.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. name: "FAP: Build and lint"
  2. on: [push, pull_request]
  3. jobs:
  4. ufbt-build-action:
  5. runs-on: ubuntu-latest
  6. name: 'ufbt: Build for Release branch'
  7. steps:
  8. - name: Checkout
  9. uses: actions/checkout@v3
  10. - name: Setup ufbt
  11. uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
  12. with:
  13. task: setup
  14. sdk-channel: release
  15. - name: Build with ufbt
  16. uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
  17. id: build-app
  18. with:
  19. skip-setup: true
  20. sdk-channel: release
  21. - name: Upload app artifacts
  22. uses: actions/upload-artifact@v3
  23. with:
  24. name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
  25. path: ${{ steps.build-app.outputs.fap-artifacts }}
  26. # # You can remove this step if you don't want to check source code formatting
  27. # - name: Lint sources
  28. # uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
  29. # with:
  30. # # skip SDK setup, we already did it in previous step
  31. # skip-setup: true
  32. # task: lint