-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (39 loc) · 1.29 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: "FAP build"
on:
push:
branches:
- main
- dev
jobs:
fap-build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: dev channel
sdk-channel: dev
- name: 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: 'Build for ${{ matrix.name }}'
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
uses: flipperdevices/flipperzero-ufbt-action@v0.1.2
id: build-app
with:
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 }}