feat(): add build.yml
Some checks are pending
Build Python Executable / build (push) Waiting to run

This commit is contained in:
Rim 2025-02-28 15:51:39 -05:00
parent f79cc2480c
commit b26f3d3244

View File

@ -0,0 +1,35 @@
name: Build Python Executable
on:
push:
branches:
- main
schedule:
- cron: "0 0 * * 0" # Runs weekly on Sunday at midnight UTC
jobs:
build:
runs-on: runner # Matches the label you assigned to your Gitea runner
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up Python 3.9.13
uses: actions/setup-python@v4
with:
python-version: "3.9.13"
- name: Install Dependencies and Setup Virtual Environment
run: python setup.py
- name: Activate Virtual Environment and Build Executable
run: |
source venv/bin/activate
python build.py
- name: Upload Build Artifacts
uses: actions/upload-artifact@v4
with:
name: built-executable
path: dist/