Skip to content

Commit

Permalink
wip: build app and sign it in action
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Jan 21, 2025
1 parent 55068e1 commit 7ec7f61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/Build-and-deploy-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,7 @@ jobs:
endpoint: https://eus.codesigning.azure.net/
trusted-signing-account-name: fdih-signing-account
certificate-profile-name: california-medical-innovations-institute
files-folder: ${{ github.workspace }}\dist\win-unpacked\soda-for-sparc.exe
files-folder-filter: exe,dll
files: ${{ github.workspace }}\dist\win-unpacked\resources\app.exe
file-digest: SHA256
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ github.workspace }}\dist\win-unpacked\soda-for-sparc.exe
asset_name: soda-for-sparc.exe
asset_content_type: application/octet-stream
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"python-folder-build-unix": "python -m PyInstaller --onedir --clean ./src/pyflask/app.py --additional-hooks-dir=./hooks/hook-backports.py --distpath ./pyflaskdist",
"python-folder-build-win": "python -m PyInstaller --onedir --add-data ./src/pyflask/libcrypto-1_1-x64.dll;. --add-data ./src/pyflask/libssl-1_1-x64.dll;. --additional-hooks-dir=./hooks/hook-backports.py;. --clean ./src/pyflask/app.py --distpath ./pyflaskdist",
"deploy-win": "npm run python-folder-build-win && npm run build && electron-builder --win --config --publish always",
"build-win": "npm run python-folder-build-win && npm run build && electron-builder --win --config",
"deploy-linux": "npm run python-folder-build-unix && npm run build && electron-builder --linux --config --publish always",
"deploy-mac": "npm run python-folder-build-unix && npm run build && electron-builder --mac --config --publish always"
},
Expand Down

0 comments on commit 7ec7f61

Please sign in to comment.