Update main.yml

This commit is contained in:
Yonokid
2025-06-12 14:59:34 -04:00
parent d732ef75e2
commit 6bcc5253c7

View File

@@ -39,24 +39,12 @@ jobs:
continue-on-error: true
- name: Build Executable
run: |
# Create completely isolated environment
mkdir -p isolated-build
cp -r . isolated-build/
cd isolated-build
# Remove all Python cache
find . -name "*.pyc" -delete
find . -name "__pycache__" -type d -exec rm -rf {} + || true
# Build with maximum isolation
uv run nuitka \
--mode=app \
--onefile \
--remove-output \
--output-dir=../build-output \
--output-dir=. \
--no-cached-results \
--disable-cache=all \
--python-flag=isolated \
--temp-dir=../nuitka-temp \
--temp-dir=./nuitka-temp-${{ github.run_number }} \
--include-module=raylib,moviepy,numpy,sounddevice,soundfile,tomlkit \
--noinclude-setuptools-mode=nofollow \
--noinclude-IPython-mode=nofollow \