File tree Expand file tree Collapse file tree 2 files changed +50
-1
lines changed
Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change 1+ name : BuildInstallCoopsNuitka
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ tagname :
6+ description : ' Tag'
7+ required : true
8+ default : ' '
9+ jobs :
10+ build :
11+ runs-on : windows-latest
12+ steps :
13+ - uses : actions/checkout@v1
14+ - name : Set up Python 3.9
15+ uses : actions/setup-python@v1
16+ with :
17+ python-version : 3.9
18+ architecture : ' x64'
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install -r requirements.txt
23+ pip install nuitka
24+ - name : build with nuitka
25+ run : |
26+ python -m nuitka --mingw64 --standalone --assume-yes-for-downloads install_coops_python.py
27+ - uses : actions/upload-artifact@v2
28+ with :
29+ name : install_coops_python.exe
30+ path : host_make.dist\install_coops_python.exe
31+ - name : release
32+ uses : actions/create-release@v1
33+ id : create_release
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ with :
37+ draft : false
38+ prerelease : false
39+ tag_name : ${{ github.event.inputs.tagname }}
40+ release_name : ${{ github.event.inputs.tagename }}
41+ - name : upload windows artifact
42+ uses : actions/upload-release-asset@v1
43+ env :
44+ GITHUB_TOKEN : ${{ github.token }}
45+ with :
46+ upload_url : ${{ steps.create_release.outputs.upload_url }}
47+ asset_path : host_make.dist\install_coops_python.exe
48+ asset_name : host_make.exe
49+ asset_content_type : application/exe
Original file line number Diff line number Diff line change 1- name : BuildInstallCoops
1+ name : BuildInstallCoopsPyinstaller
22on :
33 workflow_dispatch :
44 inputs :
You can’t perform that action at this time.
0 commit comments