Skip to content

Create build.yml

Create build.yml #1

Workflow file for this run

name: Build Windows Executable
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
- name: Build the executable
run: pyinstaller --onefile boostvol.py
- name: Upload the executable
uses: actions/upload-artifact@v3
with:
name: main-exe
path: dist/boostvol.exe