Skip to content

Commit bfa363d

Browse files
committed
build fix
1 parent 0e2c156 commit bfa363d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build_and_scan.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
3030
- name: Build EXE
3131
run: |
32-
python -m PyInstaller --onefile --windowed --icon=python.ico --add-data "python.ico;." --add-data "python.png;." --name="PythonProjectMngr" app.py
32+
python -m PyInstaller --noupx --onefile --windowed --icon=python.ico --add-data "python.ico;." --add-data "python.png;." --name="PythonProjectMngr" app.py
3333
env:
3434
PYTHONIOENCODING: utf-8
3535

@@ -40,8 +40,8 @@ jobs:
4040
path: dist/PythonProjectMngr.exe
4141

4242
- name: Scan with VirusTotal
43-
if: success() && env.VIRUSTOTAL_API_KEY != ''
44-
uses: crazy-max/ghaction-virustotal@v4.0.0
45-
with:
46-
vt_api_key: ${{ secrets.VIRUSTOTAL_API_KEY }}
47-
files: dist/PythonProjectMngr.exe
43+
if: success() && secrets.VIRUSTOTAL_API_KEY != ''
44+
uses: crazy-max/ghaction-virustotal@v4.0.0
45+
with:
46+
vt_api_key: ${{ secrets.VIRUSTOTAL_API_KEY }}
47+
files: dist/PythonProjectMngr.exe

0 commit comments

Comments
 (0)