Skip to content

Commit c279a18

Browse files
Update build-exe.yml
1 parent 557b24a commit c279a18

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/build-exe.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,23 @@ jobs:
2323
python-version: '3.9'
2424

2525
- name: Install Dependencies
26+
# Using a requirements file with pinned numpy and explicit PySide6 is crucial for stability.
2627
run: pip install -r requirements.txt
2728

2829
- name: Build with Nuitka
29-
uses: Nuitka/Nuitka-Action@main
30+
# --- THE DEFINITIVE STABLE CONFIGURATION ---
31+
# Lock the action to a stable release.
32+
uses: Nuitka/Nuitka-Action@v0.5.0
3033
with:
31-
nuitka-version: main
34+
# Lock Nuitka to a recent, known-stable version.
35+
nuitka-version: '2.6'
3236

33-
# --- FINAL CORRECTED CONFIGURATION ---
34-
3537
# This ensures Nuitka finds and uses the MSVC compiler.
3638
msvc: 'latest'
3739

38-
# Corrected the plugin name to 'qt-bindings' and added 'tk-inter' for robustness.
39-
enable-plugins: "qt-bindings,numpy,tk-inter"
40+
# REMOVED 'qt-bindings'. Modern Nuitka auto-detects Qt usage from your imports.
41+
# The other plugins are still necessary for complex libraries.
42+
enable-plugins: "numpy,pandas,tk-inter"
4043

4144
# Pass Nuitka command-line arguments.
4245
script-name: PICA_Launcher_V4.py --onefile
@@ -63,7 +66,6 @@ jobs:
6366
uses: svenstaro/upload-release-action@v2
6467
with:
6568
repo_token: ${{ secrets.GITHUB_TOKEN }}
66-
# Nuitka's --onefile mode creates a .dist folder for the output.
6769
file: PICA_Launcher_V4.dist/PICA_Launcher_V4.exe
6870
asset_name: PICA_Launcher-Windows-${{ github.ref_name }}.exe
6971
tag: ${{ github.ref }}

0 commit comments

Comments
 (0)