File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Python Application
2+
3+ on :
4+ push :
5+ branches : [ main, master, develop ]
6+ pull_request :
7+ branches : [ main, master ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os : [ubuntu-latest, windows-latest, macos-latest]
17+ python-version : ['3.9']
18+
19+ steps :
20+ - name : Checkout repository
21+ uses : actions/checkout@v3
22+
23+ - name : Set up Python ${{ matrix.python-version }}
24+ uses : actions/setup-python@v4
25+ with :
26+ python-version : ${{ matrix.python-version }}
27+
28+ - name : Install dependencies
29+ run : |
30+ python -m pip install --upgrade pip
31+ pip install pyinstaller
32+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
33+ shell : bash
34+
35+ - name : Build with PyInstaller
36+ run : |
37+ pyinstaller go-dispatch-proxy-gui.spec
38+
39+ - name : Upload build artifacts
40+ uses : actions/upload-artifact@v3
41+ with :
42+ name : dist-${{ matrix.os }}
43+ path : |
44+ dist/
45+ build/
You can’t perform that action at this time.
0 commit comments