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 16:00:25 -05:00
parent 79d4dbb68e
commit 65fd0ac5d2
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,36 @@
name: Build Python Executable
on:
push:
branches:
- main
schedule:
# - cron: "0 0 * * 0" # Runs weekly on Sunday at midnight UTC
- cron: "*/1 * * * *" # Runs every 1 minute
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/

View File

@ -44,7 +44,6 @@
"mp_village2": "Hovec Sawmill",
"mp_hardhat": "Hardhat",
"mp_m_wallco2": "Aisle 9",
"mp_donetsk": "Verdansk",
"mp_scrapyard": "Zhokov Scrapyard",
"mp_m_trench": "Trench",
"mp_promenade_gw": "Barakett Promenade",