Skip to content

Commit bf68f35

Browse files
Nothing
1 parent b489a5b commit bf68f35

File tree

2 files changed

+48
-1
lines changed

2 files changed

+48
-1
lines changed

.gtihub/workflows/build.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: 3.x
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install -r requirements.txt
25+
26+
- name: Build project
27+
run: python setup.py build
28+
29+
- name: Build MSI installer
30+
run: |
31+
# Build MSI installer command goes here
32+
33+
- name: Build portable zip
34+
run: |
35+
# Build portable zip command goes here
36+
37+
- name: Upload MSI installer
38+
uses: actions/upload-artifact@v2
39+
with:
40+
name: msi-installer
41+
path: path/to/msi/installer
42+
43+
- name: Upload portable zip
44+
uses: actions/upload-artifact@v2
45+
with:
46+
name: portable-zip
47+
path: path/to/portable/zip

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
executables=executables,
2424
author='CodeCraftPlugin',
2525
author_email='[email protected]',
26-
license='MIT')
26+
license='MIT')

0 commit comments

Comments
 (0)