Skip to content

Commit

Permalink
moved build app over
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Aug 25, 2024
1 parent 58ed4df commit 23fc2d2
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .github/actions/build/windows/app/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Windows Build App
description: Electron-Forge Build/Sign/publish
inputs:
DIGICERT_FINGERPRINT:
required: true
type: string
GITHUB_TOKEN:
required: true
type: string
sign-and-publish:
description: 'Sign the executable and publish to release page'
default: false
required: false
type: boolean
runs:
using: composite
steps:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install
- name: Make app
shell: powershell
env:
DIGICERT_FINGERPRINT: ${{ inputs.DIGICERT_FINGERPRINT }}
DEBUG: electron-forge:*
PUBLISH: ${{ inputs.sign-and-publish }}
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
run: npm run publish -- --dry-run
- name: Print SignLogs
if: always()
continue-on-error: true
shell: powershell
run: cd $HOME ; gc .signingmanager\logs\smksp.log
- name: verify signing
run:
signtool verify /v /pa out/ComfyUI-win32-x64/ComfyUI.exe
shell: cmd
2 changes: 1 addition & 1 deletion .github/workflows/debug_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
DIGICERT_API_KEY: ${{secrets.DIGICERT_API_KEY}}
DIGICERT_AUTHENTICATION_CERTIFICATE_PASSWORD: ${{secrets.DIGICERT_AUTHENTICATION_CERTIFICATE_PASSWORD}}
- name: Build
uses: ./.github/actions/build/windows/build_app.yml
uses: ./.github/actions/build/windows/app
with:
sign-and-publish: false
DIGICERT_FINGERPRINT: ${{secrets.DIGICERT_FINGERPRINT}}
Expand Down

0 comments on commit 23fc2d2

Please sign in to comment.