Skip to content

make ignore files for build instructions #10

make ignore files for build instructions

make ignore files for build instructions #10

Workflow file for this run

name: Package Application with Pyinstaller
on:
push:
branches:
- main # Modify this based on the branch you want to trigger the action on
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10
- name: Install dependencies
run: |
pip install -r ./requirements.txt
pip install pyinstaller
- name: Build executable
run: pyinstaller --onefile --add-data "templates;templates" --add-data "static;static" --add-data "scripts;scripts" main.py
- name: Move stuff in correct location
run: |
mv ./dist/main.exe .
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: Real Esatate Management system
path: |
./main.exe
./data.json
./backup/ignore
./exports/ignore