File tree 1 file changed +17
-21
lines changed
1 file changed +17
-21
lines changed Original file line number Diff line number Diff line change 1
- name : CI
1
+ name : " FAP: Build "
2
2
3
- on :
4
- push :
5
- branches : [ main ]
3
+ on : [push]
6
4
7
5
jobs :
8
- build-fap :
6
+ ufbt- build-action :
9
7
runs-on : ubuntu-latest
10
- container :
11
- image : an4tur0r/flipperzero-unleashed:latest
12
- env :
13
- APP_NAME : xbox_controller
14
- volumes :
15
- - ${{ github.workspace }}:/flipperzero-unleashed/applications_user/xbox_controller
16
- options : --cpus 1
8
+ name : ' ufbt: Build'
17
9
steps :
18
- - uses : actions/checkout@v3
19
- - name : Build
20
- run : |
21
- cd /flipperzero-unleashed
22
- ./fbt fap_xbox_controller
23
- cp build/f7-firmware-D/.extapps/xbox_controller.fap applications_user/xbox_controller/
24
- - uses : actions/upload-artifact@v3
10
+ - name : Checkout
11
+ uses : actions/checkout@v3
12
+
13
+ - name : Build with ufbt
14
+ uses : flipperdevices/flipperzero-ufbt-action@v0.1.2
15
+ id : build-app
16
+ with :
17
+ sdk-channel : release
18
+
19
+ - name : Upload app artifacts
20
+ uses : actions/upload-artifact@v3
25
21
with :
26
- name : xbox_controller
27
- path : ./xbox_controller. fap
22
+ name : ${{ github.event.repository.name }}-${{ steps.build-app.outputs.suffix }}
23
+ path : ${{ steps.build-app.outputs. fap-artifacts }}
You can’t perform that action at this time.
0 commit comments