Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2 from hedger/main
Browse files Browse the repository at this point in the history
Updated build automation to latest ufbt
  • Loading branch information
theageoflove authored Apr 19, 2023
2 parents e68e090 + ba4e1f3 commit 79a2a74
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,37 @@
name: Build main

name: "FAP: Build for multiple SDK sources"
on:
push:
branches:
- main

pull_request:
jobs:
build_dev:
ufbt-build-action:
runs-on: ubuntu-latest

strategy:
matrix:
include:
- name: Official Dev channel
sdk-channel: dev
- name: Official Release channel
sdk-channel: release
- name: Unleashed Dev
sdk-index-url: https://up.unleashedflip.com/directory.json
sdk-channel: dev
- name: Unleashed Release
sdk-index-url: https://up.unleashedflip.com/directory.json
sdk-channel: release
name: 'ufbt: Build for ${{ matrix.name }}'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build
uses: oleksiikutuzov/flipperzero-ufbt-action@v2
- name: Build with ufbt
uses: flipperdevices/[email protected]
id: build-app
with:
channel: release
sdk-channel: ${{ matrix.sdk-channel }}
sdk-index-url: ${{ matrix.sdk-index-url }}
- name: Upload app artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
path: ${{ steps.build-app.outputs.fap-artifacts }}

0 comments on commit 79a2a74

Please sign in to comment.