Skip to content

Commit 5bd982c

Browse files
authored
Update main.yml
1 parent 44636de commit 5bd982c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ jobs:
2121
python -m pip install --upgrade pip
2222
pip install pyinstaller
2323
24-
- name: Build EXE
24+
- name: Find and Build
2525
run: |
26-
pyinstaller --noconsole --onefile gui_app.py
26+
# Эта команда найдет файл, где бы он ни лежал в репозитории
27+
$filePath = Get-ChildItem -Recurse -Filter "gui_app.py" | Select-Object -ExpandProperty FullName
28+
pyinstaller --noconsole --onefile $filePath
2729
2830
- name: Upload Artifact
2931
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)