From 6bcc5253c7bb5b0aa0c04a7676d21f9664948c3b Mon Sep 17 00:00:00 2001 From: Yonokid <37304577+Yonokid@users.noreply.github.com> Date: Thu, 12 Jun 2025 14:59:34 -0400 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1aa6f8..0ab1712 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,28 +39,16 @@ 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 \ - --remove-output \ - --output-dir=../build-output \ - --no-cached-results \ - --disable-cache=all \ - --python-flag=isolated \ - --temp-dir=../nuitka-temp \ - --include-module=raylib,moviepy,numpy,sounddevice,soundfile,tomlkit \ - --noinclude-setuptools-mode=nofollow \ - --noinclude-IPython-mode=nofollow \ - PyTaiko.py + --onefile \ + --remove-output \ + --output-dir=. \ + --no-cached-results \ + --temp-dir=./nuitka-temp-${{ github.run_number }} \ + --include-module=raylib,moviepy,numpy,sounddevice,soundfile,tomlkit \ + --noinclude-setuptools-mode=nofollow \ + --noinclude-IPython-mode=nofollow \ + PyTaiko.py - name: Upload Artifacts uses: actions/upload-artifact@v4 with: