Commit 92e6d7a 1 parent 85df73f commit 92e6d7a Copy full SHA for 92e6d7a
File tree 4 files changed +69
-9
lines changed
4 files changed +69
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : " Dev Branch - Build & Upload FAP"
2
+ on :
3
+ push :
4
+ branches :
5
+ - dev
6
+ jobs :
7
+ ufbt-build-action :
8
+ runs-on : ubuntu-latest
9
+ name : " Build: ${{ matrix.name }}."
10
+ steps :
11
+ - name : " Checkout."
12
+ uses : actions/checkout@v3
13
+ with :
14
+ submodules : recursive
15
+
16
+ # Flipper Zero ufbt action
17
+ # https://github.com/flipperdevices/flipperzero-ufbt-action
18
+ - name : " Build app."
19
+ uses : flipperdevices/flipperzero-ufbt-action@v0.1
20
+ id : build-app
21
+ with :
22
+ app-dir : ./fap
23
+ sdk-channel : dev
24
+
25
+ - name : " Create zip archive (dev)"
26
+ uses : actions/upload-artifact@v3
27
+ with :
28
+ name : ${{ github.event.repository.name }}-dev-${{ steps.build-app.outputs.suffix }}.zip
29
+ path : ${{ steps.build-app.outputs.fap-artifacts }}
Original file line number Diff line number Diff line change 1
- name : " Build & upload. "
1
+ name : " Release Branch - Build & Upload FAP "
2
2
on :
3
3
push :
4
4
branches :
5
- # Run on push to main.
6
5
- main
7
-
8
6
schedule :
9
- # Run every day at 00:00 UTC (midnight)
7
+ # Run every day at 00:00 UTC (midnight) to build the latest release
8
+ # for new and upcoming firmware.
10
9
- cron : " 0 0 * * *"
11
-
12
10
jobs :
13
11
ufbt-build-action :
14
12
runs-on : ubuntu-latest
24
22
- name : " release"
25
23
sdk-channel : release
26
24
27
- name : " Build: ${{ matrix.name }} release ."
25
+ name : " Build: ${{ matrix.name }}."
28
26
steps :
29
27
- name : " Checkout."
30
28
uses : actions/checkout@v3
33
31
34
32
# Flipper Zero ufbt action
35
33
# https://github.com/flipperdevices/flipperzero-ufbt-action
36
- - name : " Build."
34
+ - name : " Build app ."
37
35
uses : flipperdevices/flipperzero-ufbt-action@v0.1
38
36
id : build-app
39
37
with :
Original file line number Diff line number Diff line change
1
+ name : " Dev Branch PR - Lint & Build Test"
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - dev
6
+ jobs :
7
+ ufbt-test-build-action :
8
+ runs-on : ubuntu-latest
9
+ name : " PR Build: ${{ matrix.name }}."
10
+ steps :
11
+ - name : " PR - Checkout."
12
+ uses : actions/checkout@v3
13
+ with :
14
+ submodules : recursive
15
+
16
+ # Flipper Zero ufbt action
17
+ # https://github.com/flipperdevices/flipperzero-ufbt-action
18
+ - name : " PR - Build app."
19
+ uses : flipperdevices/flipperzero-ufbt-action@v0.1
20
+ id : build-app
21
+ with :
22
+ app-dir : ./fap
23
+ sdk-channel : ${{ matrix.sdk-channel }}
24
+
25
+ - name : " PR - Lint."
26
+ uses : flipperdevices/flipperzero-ufbt-action@v0.1
27
+ with :
28
+ app-dir : ./fap
29
+ skip-setup : true
30
+ task : lint
Original file line number Diff line number Diff line change 1
- name : " PR - Lint & build."
2
- on : pull_request
1
+ name : " Release Branch PR - Lint & Build Test"
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - main
3
6
jobs :
4
7
ufbt-test-build-action :
5
8
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments