File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 1919 - name : Set up Python
2020 uses : actions/setup-python@v5
2121 with :
22- python-version : ' 3.13 '
22+ python-version : ' 3.12 '
2323
2424 - name : Install dependencies
2525 run : |
@@ -29,10 +29,20 @@ jobs:
2929
3030 - name : Build EXE
3131 run : |
32- python -m PyInstaller --noupx --onefile --windowed --icon=python.ico --add-data "python.ico;." --add-data "python.png;." --name="PythonProjectMngr" app.py
32+ python -m PyInstaller --clean -- 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
36+ - name : Restore code signing certificate
37+ run : |
38+ echo "${{ secrets.PFX_BASE64 }}" | certutil -decode - kingtriton.pfx
39+ shell : powershell
40+
41+ - name : Sign EXE
42+ run : |
43+ signtool sign /f kingtriton.pfx /p "${{ secrets.PFX_PASSWORD }}" /tr http://timestamp.digicert.com /td sha256 /fd sha256 dist\PythonProjectMngr.exe
44+ shell : powershell
45+
3646 - name : Upload artifact
3747 uses : actions/upload-artifact@v4
3848 with :
4353 uses : crazy-max/ghaction-virustotal@v4.0.0
4454 with :
4555 vt_api_key : ${{ secrets.VIRUSTOTAL_API_KEY }}
46- files : dist/PythonProjectMngr.exe
56+ files : dist/PythonProjectMngr.exe
You can’t perform that action at this time.
0 commit comments