File tree 1 file changed +50
-0
lines changed
1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Upload FAP to Beta
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ version :
7
+ description : ' Version number to use for the release'
8
+ required : true
9
+ default : ' 1.0.0'
10
+
11
+ branches :
12
+ - dev
13
+
14
+ permissions :
15
+ contents : write
16
+
17
+ jobs :
18
+ build-and-upload :
19
+ name : Build and Upload FAP
20
+ runs-on : ubuntu-latest
21
+
22
+ steps :
23
+ - name : Checkout Repository
24
+ uses : actions/checkout@v3
25
+ with :
26
+ ref : dev
27
+
28
+ - name : Set up Python
29
+ uses : actions/setup-python@v4
30
+ with :
31
+ python-version : ' 3.x'
32
+
33
+ - name : Install UFBT
34
+ run : |
35
+ python3 -m pip install --upgrade pip
36
+ pip install ufbt
37
+
38
+ - name : Initialize UFBT Environment
39
+ run : |
40
+ ufbt update
41
+ ufbt vscode_dist
42
+
43
+ - name : Build FAP Applications
44
+ run : ufbt faps
45
+
46
+ - name : Upload Build Outputs to Release
47
+ run : |
48
+ gh release upload v${{ github.event.inputs.version }} /home/runner/.ufbt/build/metroflip.fap
49
+ env :
50
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments