build.yaml 847 B

123456789101112131415161718192021222324252627282930
  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. # - name: Lint sources
  16. # uses: flipperdevices/flipperzero-ufbt-action@v0.1
  17. # with:
  18. # task: lint
  19. - name: Build with ufbt
  20. uses: flipperdevices/flipperzero-ufbt-action@v0.1
  21. id: build-app
  22. with:
  23. # skip-setup: true
  24. sdk-channel: release
  25. - name: Upload app artifacts
  26. uses: actions/upload-artifact@v3
  27. with:
  28. name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
  29. path: ${{ steps.build-app.outputs.fap-artifacts }}