File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ release :
5+ types : [published ]
6+
7+ jobs :
8+
9+ build :
10+ runs - on : ${{ matrix .os }}
11+ strategy :
12+ matrix :
13+ os : [windows - latest ]
14+
15+ steps :
16+ - uses : actions / checkout @v3
17+ - name : Run build on ${{ matrix .os }}
18+ uses : actions / setup - python @v4
19+ with :
20+ python - version : "3.9.9"
21+
22+ - name : Install dependencies
23+ run : |
24+ python3 - m pip install - - upgrade pip
25+ pip3 install pyinstaller
26+ pip install pillow
27+ pip3 install - r "requirements.txt"
28+
29+
30+ - name : Build tpp using tppbuild
31+ run : |
32+ python3 "./build.py"
33+
34+
35+
36+
37+ - name : uploading tpp for ${{ matrix .os }}
38+ uses : svenstaro / upload - release - action @v2
39+ with :
40+ repo_token : ${{ secrets .GITHUB_TOKEN }}
41+ file : |
42+ ./ * .tpp
43+ overwrite : true
44+ file_glob : true
You can’t perform that action at this time.
0 commit comments