release.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. name: Release
  2. on:
  3. push:
  4. tags:
  5. - 'v[0-9]+.[0-9]+.[0-9]+'
  6. env:
  7. firmware_version: '0.79.1'
  8. jobs:
  9. build:
  10. name: Build
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout Flipper Zero Firmware
  14. uses: actions/checkout@v3
  15. with:
  16. repository: 'flipperdevices/flipperzero-firmware'
  17. ref: ${{ env.firmware_version }}
  18. submodules: true
  19. - name: Checkout FlipBIP
  20. uses: actions/checkout@v3
  21. with:
  22. path: 'applications_user/FlipBIP'
  23. - name: Build FAPs
  24. run: ./fbt COMPACT=1 DEBUG=0 faps
  25. - name: Get tag
  26. id: tag
  27. uses: dawidd6/action-get-tag@v1
  28. with:
  29. strip_v: false
  30. - name: Publish FlipBIP
  31. uses: softprops/action-gh-release@v1
  32. with:
  33. files: |
  34. build/f7-firmware-C/.extapps/FlipBIP.fap
  35. applications_user/FlipBIP/README.md
  36. name: ${{steps.tag.outputs.tag}}
  37. body: Built against Flipper Zero firmware v${{ env.firmware_version }}
  38. generate_release_notes: true
  39. fail_on_unmatched_files: true