File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,14 +27,17 @@ jobs:
2727 with :
2828 python-version : ' 3.10'
2929
30+ # --- THIS STEP WAS MISSING ---
3031 - name : Install Dependencies
3132 run : pip install pyinstaller Pillow numpy scipy platformdirs tqdm
33+ # --- END MISSING STEP ---
3234
3335 - name : Update Version in Files
3436 shell : bash
3537 run : find . -type f -name "*.py" -exec sed -i "s/<unreleased>/${{ inputs.version_string }}/g" {} +
3638
37- - name : Build Windows Binary
39+ # --- THIS STEP IS NOW CORRECTED AND MORE ROBUST ---
40+ - name : Build and Package Windows Binary
3841 shell : cmd
3942 run : |
4043 py -m PyInstaller --noconsole --onedir --clean ^
4346 --add-data "tilerandomizer.py;." ^
4447 --add-data "superfilerandomizer.py;." ^
4548 msxtileforge.py
46- copy README.md LICENSE dist\msxtileforge\
47- cd dist
48- 7z a msxtileforge_windows.zip msxtileforge
49+ copy README.md LICENSE dist\msxtileforge
50+ 7z a dist/msxtileforge_windows.zip ./dist/msxtileforge/*
51+ # --- END CORRECTION ---
4952
5053 - name : Upload Windows Artifact
5154 id : upload
You can’t perform that action at this time.
0 commit comments