File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This workflow will build python files to exe
2+ # But only upload this file as artifacts
3+ # This workflow and whole this branch created only for tests
4+ # Please, don't download artifacts, it's not releases at all!
5+
6+ name : CI Tests
7+
8+ on :
9+ push :
10+ branches : [ CI-test ]
11+
12+ jobs :
13+ build :
14+ runs-on : windows-latest
15+
16+ steps :
17+ - uses : actions/checkout@v2
18+ - name : Set up Python 3.9
19+ uses : actions/setup-python@v2
20+ with :
21+ python-version : 3.9
22+ - name : Install dependencies
23+ run : |
24+ python -m pip install --upgrade pip
25+ pip install -r requirements.txt
26+ pip install py2exe==0.10.4.1
27+
28+ - name : Setup PyWin32
29+ run : python "$env:pythonLocation/Scripts/pywin32_postinstall.py" -install
30+
31+ - name : Convert python files to exe using py2exe
32+ run : python setup.py py2exe
33+
34+ - name : Compress files
35+ uses : vimtor/action-zip@v1
36+ with :
37+ files : dist/
38+ dest : test_results.zip
39+
40+ - name : Upload a Build Artifact
41+ uses : actions/upload-artifact@v2.2.4
42+ with :
43+ name : test_results
44+ path : ./test_results.zip
45+ retention-days : 1
Original file line number Diff line number Diff line change 2222 run : |
2323 python -m pip install --upgrade pip
2424 pip install -r requirements.txt
25- pip install py2exe
25+ pip install py2exe==0.10.4.1
2626
2727 - name : Setup PyWin32
2828 run : python "$env:pythonLocation/Scripts/pywin32_postinstall.py" -install
3535 run : .github\workflows\get_info.bat
3636
3737 - name : Compress files
38- uses : papeloto /action-zip@v1
38+ uses : vimtor /action-zip@v1
3939 with :
4040 files : dist/
4141 dest : release.zip
You can’t perform that action at this time.
0 commit comments