File tree 1 file changed +48
-0
lines changed
1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+
7
+ jobs :
8
+ ufbt-build-action :
9
+ runs-on : ubuntu-latest
10
+ name : " ufbt: Build for dev channel"
11
+
12
+ strategy :
13
+ matrix :
14
+ include :
15
+ - name : dev channel
16
+ sdk-channel : dev
17
+
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ with :
21
+ ref : master
22
+ sparse-checkout : FindMyFlipper
23
+
24
+ - name : Build with ufbt
25
+ uses : flipperdevices/flipperzero-ufbt-action@v0.1.2
26
+ id : build-app
27
+ with :
28
+ # Set to 'release' to build for latest published release version
29
+ sdk-channel : ${{ matrix.sdk-channel }}
30
+ app-dir : FindMyFlipper
31
+
32
+ - name : Get commit message
33
+ run : echo "COMMIT_MESSAGE=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
34
+
35
+ - name : Bump version and push tag
36
+ id : tag_version
37
+ uses : mathieudutour/github-tag-action@v6.1
38
+ with :
39
+ github_token : ${{ secrets.GITHUB_TOKEN }}
40
+
41
+ - name : Create Release
42
+ uses : softprops/action-gh-release@v2
43
+ with :
44
+ name : ${{ env.COMMIT_MESSAGE }}
45
+ token : ${{ secrets.RELEASE_TOKEN }}
46
+ files : ${{ steps.build-app.outputs.fap-artifacts }}
47
+ generate_release_notes : true
48
+ tag_name : ${{steps.tag_version.outputs.new_tag}}
You can’t perform that action at this time.
0 commit comments