Skip to content

Merge pull request #85 from nicolasbisurgi/feature_create_executable #3

Merge pull request #85 from nicolasbisurgi/feature_create_executable

Merge pull request #85 from nicolasbisurgi/feature_create_executable #3

Workflow file for this run

name: Build Executable
on:
push:
branches:
- master
jobs:
build-windows:
name: Build on Windows
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyinstaller
pip install -r requirements.txt
- name: Build executable
run: |
pyinstaller --onefile `
--name "rushti" `
--add-data "utils.py;." `
--console `
rushti.py
- name: Upload executable artifact
uses: actions/upload-artifact@v3
with:
name: rushti-winOS
path: dist/rushti.exe
retention-days: 90