-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (32 loc) · 924 Bytes
/
workflow.yaml
File metadata and controls
34 lines (32 loc) · 924 Bytes
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
name: Python package
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install cx_freeze
pip install -r requirements.txt
- name: Build executable
run: |
# stop the build if there are Python syntax errors or undefined names
python setup.py install
python setup_dist.py build
python setup_dist.py bdist_msi
- name: Upload MSI Package
uses: actions/upload-artifact@v3
with:
name: NanoCETPy
path: dist/*.msi
- name: Upload Executable
uses: actions/upload-artifact@v3
with:
name: NanoCETPy
path: build/