Skip to content

Commit d175a46

Browse files
Update build-exe.yml
1 parent 007f0a0 commit d175a46

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build-exe.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@ jobs:
2424
python -m pip install --upgrade pip
2525
pip install pyinstaller numpy pandas matplotlib pymeasure pyvisa pyvisa-py Pillow
2626
27-
# --- KEY CHANGE IS HERE ---
2827
- name: Build with PyInstaller using .spec file
2928
run: pyinstaller PICA_Launcher.spec
3029

3130
- name: Upload Executable to Release
3231
uses: svenstaro/upload-release-action@v2
3332
with:
3433
repo_token: ${{ secrets.GITHUB_TOKEN }}
35-
# The name in the .spec file determines the output .exe name
36-
file: dist/PICA_Launcher.exe
34+
# --- CORRECTED FILE PATH ---
35+
file: dist/PICA_Launcher/PICA_Launcher.exe
3736
asset_name: PICA_Launcher-Windows-${{ github.ref_name }}.exe
3837
tag: ${{ github.ref }}
3938
overwrite: true

0 commit comments

Comments
 (0)