flipperZeroAction.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  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. with:
  11. submodules: recursive # Ensure submodules are also checked out
  12. - name: Setup flipper-gblink submodule
  13. run: git submodule update --init --recursive
  14. # Add any additional steps needed for the build process
  15. # Replace this with your existing build steps
  16. - name: Build with ufbt GAME BOY Pokemon Trading
  17. uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
  18. id: build-app-gb-pokemon-trading
  19. with:
  20. sdk-channel: release
  21. app-dir: ./
  22. - name: Upload app artifacts GAME BOY Pokemon Trading
  23. uses: actions/upload-artifact@v3
  24. with:
  25. name: ${{ github.event.repository.name }}-${{ steps.build-app-gb-pokemon-trading.outputs.suffix }}
  26. path: ${{ steps.build-app-gb-pokemon-trading.outputs.fap-artifacts }}
  27. - name: Release
  28. uses: softprops/action-gh-release@v1
  29. if: startsWith(github.ref, 'refs/tags/')
  30. with:
  31. files: |
  32. ${{ steps.build-app-gb-pokemon-trading.outputs.fap-artifacts }}