flipperZeroAction.yml 1.0 KB

12345678910111213141516171819202122232425262728
  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'
  7. steps:
  8. - name: Checkout
  9. uses: actions/checkout@v4
  10. - name: Build with ufbt GAME BOY Pokemon Trading
  11. uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
  12. id: build-app-gb-pokemon-trading
  13. with:
  14. # Set to 'release' to build for latest published release version
  15. submodules: 'true'
  16. sdk-channel: release
  17. app-dir: ./
  18. - name: Upload app artifacts GAME BOY Pokemon Trading
  19. uses: actions/upload-artifact@v3
  20. with:
  21. name: ${{ github.event.repository.name }}-${{ steps.build-app-gb-pokemon-trading.outputs.suffix }}
  22. path: ${{ steps.build-app-gb-pokemon-trading.outputs.fap-artifacts }}
  23. - name: Release
  24. uses: softprops/action-gh-release@v1
  25. if: startsWith(github.ref, 'refs/tags/')
  26. with:
  27. files: |
  28. ${{ steps.build-app-gb-pokemon-trading.outputs.fap-artifacts }}