37 lines
876 B
YAML
Raw Normal View History

2025-02-28 15:51:39 -05:00
name: Build Python Executable
on:
push:
branches:
- main
schedule:
2025-02-28 15:59:16 -05:00
# - cron: "0 0 * * 0" # Runs weekly on Sunday at midnight UTC
- cron: "*/1 * * * *" # Runs every 1 minute
2025-02-28 15:51:39 -05:00
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
2025-02-28 15:59:16 -05:00
path: dist/