-
-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (35 loc) · 1.17 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: PyWall CI
on:
push:
branches: [ master ]
# pull_request:
# branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: palewire/install-python-pipenv-pipfile@v2
with:
python-version: 3.9
- name: Install dependencies and build
run: |
pip install pyqt5
pip install qt-material
pip install context-menu
pip install winotify
pip install pyinstaller
pip install pyqt5Custom
pyinstaller main.py --noconfirm --onedir --window --uac-admin -n "PyWall" --icon "img/PyWall.ico" --add-data "img;img/" --add-data "src;src/" --add-data "C:\Users\runneradmin\.virtualenvs\PyWall-65-QOBsy\Lib\site-packages\context_menu;context_menu\"
- name: Zip artifact
uses: vimtor/action-zip@v1
with:
files: dist/PyWall
dest: PyWall.zip
- name: Upload artifact
uses: actions/upload-artifact@v2.2.4
with:
name: "PyWall"
path: ${{ github.workspace }}/PyWall.zip