File tree Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*' # Push events to matching v*, i.e. v1.0, v20.15.10
7+
8+ jobs :
9+ build :
10+ name : Build packages
11+ runs-on : ${{ matrix.os }}
12+ strategy :
13+ matrix :
14+ include :
15+ - os : macos-latest
16+ TARGET : macos
17+ CMD_BUILD : pyinstaller src/main.py --onefile --nowindow -n docker-remote-proxy
18+ OUT_FILE_NAME : docker-remote-proxy
19+ - os : windows-latest
20+ TARGET : windows
21+ CMD_BUILD : pyinstaller src/main.py --onefile --nowindow -n docker-remote-proxy
22+ OUT_FILE_NAME : docker-remote-proxy.exe
23+ - os : ubuntu-latest
24+ TARGET : linux
25+ CMD_BUILD : pyinstaller src/main.py --onefile --nowindow -n docker-remote-proxy
26+ OUT_FILE_NAME : docker-remote-proxy
27+ steps :
28+ - uses : actions/checkout@v1
29+ - name : Set up Python 3.9
30+ uses : actions/setup-python@v2
31+ with :
32+ python-version : 3.9
33+ - name : Install dependencies
34+ run : |
35+ python -m pip install --upgrade pip
36+ pip install -r requirements.txt
37+ - name : Build with pyinstaller for ${{matrix.TARGET}}
38+ run : ${{matrix.CMD_BUILD}}
39+ - name : Upload binaries to release
40+ uses : svenstaro/upload-release-action@v2
41+ with :
42+ repo_token : ${{ secrets.GITHUB_TOKEN }}
43+ file : ./dist/${{ matrix.OUT_FILE_NAME}}
44+ asset_name : ${{ matrix.OUT_FILE_NAME}}
45+ tag : ${{ github.ref }}
46+ overwrite : true
47+ body : " Builded App"
Original file line number Diff line number Diff line change 11docker
2- paramiko
2+ paramiko
3+ pyinstaller
You can’t perform that action at this time.
0 commit comments