Skip to content

Commit 07bf89a

Browse files
yml update
1 parent 81b12b4 commit 07bf89a

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/build-exe.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ jobs:
2222
with:
2323
python-version: '3.9'
2424

25+
- name: Cache pip dependencies
26+
# This step caches installed packages to speed up subsequent runs.
27+
uses: actions/cache@v4
28+
with:
29+
path: ${{ env.pythonLocation }}\Lib\site-packages
30+
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
31+
restore-keys: |
32+
${{ runner.os }}-pip-
33+
2534
- name: Install Dependencies
2635
# A stable requirements file is the foundation of a reliable build.
2736
run: pip install -r requirements.txt
@@ -43,9 +52,9 @@ jobs:
4352
msvc: 'latest'
4453

4554
# --- PLUGIN CONFIGURATION ---
46-
# Explicitly enable plugins for Tkinter and Matplotlib.
47-
# This resolves the warning and ensures Nuitka correctly bundles the GUI backend for plots.
48-
enable-plugins: "tk-inter,matplotlib"
55+
# The tk-inter plugin is essential for GUI apps. Matplotlib is auto-detected.
56+
# Removing the redundant 'matplotlib' plugin cleans up build warnings.
57+
enable-plugins: "tk-inter"
4958

5059
script-name: PICA_Launcher_V5p1.py
5160

0 commit comments

Comments
 (0)