We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9182c57 commit 1a38961Copy full SHA for 1a38961
.github/workflows/pyinstaller.yaml
@@ -0,0 +1,31 @@
1
+name: Build with PyInstaller
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
9
+ steps:
10
+ - name: Checkout repository
11
+ uses: actions/checkout@v2
12
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v2
15
+ with:
16
+ python-version: '3.x'
17
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install pyinstaller
22
23
+ - name: Build with PyInstaller
24
25
+ pyinstaller --onefile --name Dandilion --add-data "app:app" --icon=assets/icon.ico main.py
26
27
+ - name: Upload artifact
28
+ uses: actions/upload-artifact@v2
29
30
+ name: Dandilion
31
+ path: dist/Dandilion
0 commit comments