Skip to content

Commit eb9f6f4

Browse files
authored
Create ufbt_build.yml
1 parent de58db9 commit eb9f6f4

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ufbt_build.yml

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

0 commit comments

Comments
 (0)