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+
2+ name : Create Binaries for Windows
3+
4+ on :
5+ push :
6+ tags :
7+ - ' *win'
8+
9+
10+ jobs :
11+ deploy :
12+
13+ runs-on : windows-2019
14+
15+ steps :
16+ - uses : actions/checkout@v3
17+ with :
18+ lfs : true
19+ - name : Set up Python
20+ uses : actions/setup-python@v3
21+ with :
22+ python-version : ' 3.6'
23+ - name : Install dependencies
24+ run : |
25+ python -m pip install --upgrade pip
26+ pip install -r requirements.txt
27+ - name : Build binary
28+ run : pyinstaller --onefile starrem2k13.py -i starrem.ico
29+ - name : copy weights
30+ run : xcopy weights\* dist\weights\ /E
31+ - name : copy other files
32+ run : |
33+ xcopy LICENSE dist\ /E
34+ xcopy releasenotes.md dist\ /E
35+ - uses : thedoctor0/zip-release@main
36+ with :
37+ type : ' zip'
38+ filename : ' starrem2k13_win.zip'
39+ directory : ' dist/'
40+ exclusions : ' *.git* /*node_modules/* .editorconfig'
41+ - uses : ncipollo/release-action@v1
42+ with :
43+ artifacts : " dist/starrem2k13_win.zip"
44+ bodyFile : " releasenotes.md"
You can’t perform that action at this time.
0 commit comments