Skip to content

Commit c6d55df

Browse files
authored
feat: create ufbt_build.yaml
1 parent be803e9 commit c6d55df

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ufbt_build.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "FAP: Build for multiple SDK sources"
2+
on:
3+
push:
4+
## put your main branch name under "braches"
5+
branches:
6+
- main
7+
- develop
8+
pull_request:
9+
# schedule:
10+
# do a build every day
11+
# - cron: "1 1 * * *"
12+
jobs:
13+
ufbt-build-action:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
include:
18+
- name: dev channel
19+
sdk-channel: dev
20+
- name: release channel
21+
sdk-channel: release
22+
name: 'ufbt: Build for ${{ matrix.name }}'
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v3
26+
- name: Build with ufbt
27+
uses: flipperdevices/[email protected]
28+
id: build-app
29+
with:
30+
sdk-channel: ${{ matrix.sdk-channel }}
31+
sdk-index-url: ${{ matrix.sdk-index-url }}
32+
- name: Upload app artifacts
33+
uses: actions/upload-artifact@v3
34+
with:
35+
name: ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
36+
path: ${{ steps.build-app.outputs.fap-artifacts }}

0 commit comments

Comments
 (0)