flipperZeroAction.yml 692 B

123456789101112131415161718192021222324
  1. name: Flipper Zero CI
  2. on:
  3. push:
  4. tags:
  5. - "v*.*"
  6. jobs:
  7. build:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@v3
  11. - name: Clone ufbt
  12. run: |
  13. git config --global url.https://github.com/.insteadOf git://github.com/
  14. git clone https://github.com/flipperdevices/flipperzero-ufbt.git ../ufbt
  15. - name: Ufbt Build App
  16. run: |
  17. ../ufbt/ufbt "fap_$(grep -o 'appid="[a-zA-Z0-9]\+"' application.fam | awk -F '"' '{print $2}')"
  18. - name: Release
  19. uses: softprops/action-gh-release@v1
  20. if: startsWith(github.ref, 'refs/tags/')
  21. with:
  22. files: |
  23. ../ufbt/.ufbt/build/**/*.fap