From aa4327fe1c707669c6fa7ce86c89afee156f40e6 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 8 Aug 2026 15:59:46 +0100 Subject: [PATCH] Test Act runner build Signed-off-by: Markus Birth --- .github/workflows/build.yml | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c841d94 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,42 @@ +name: "FAP: Build for multiple SDK sources" +# This will build your app for dev and release channels on GitHub. +# It will also build your app every day to make sure it's up to date with the latest SDK changes. +# See https://github.com/marketplace/actions/build-flipper-application-package-fap for more information + +on: + push: + ## put your main branch name under "branches" + branches: + - master + pull_request: + schedule: + # do a build every day + #- cron: "1 1 * * *" + +jobs: + ufbt-build: + name: 'ufbt: Build for ${{ matrix.name }}' + runs-on: ubuntu-latest + strategy: + matrix: + include: + - name: dev channel + sdk-channel: dev + - name: release channel + sdk-channel: release + # You can add unofficial channels here. See ufbt action docs for more info. + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build with ufbt + uses: flipperdevices/flipperzero-ufbt-action@v0.1 + id: build-app + with: + sdk-channel: ${{ matrix.sdk-channel }} + sdk-index-url: ${{ matrix.sdk-index.url }} + - name: Upload app artifacts + uses: actions/upload-artifact@v4 + with: + # See ufbt action docs for other output variables + name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }} + path: ${{ steps.build-app.outputs.fap-artifacts }}