Skip to content

Add mock electron APIs used by the frontend #395

Add mock electron APIs used by the frontend

Add mock electron APIs used by the frontend #395

Workflow file for this run

name: Build App Linux Debug
on:
workflow_dispatch:
workflow_call:
pull_request:
branches:
- main
paths-ignore:
- '.github/**'
- '.prettierrc'
- '.eslintrc.json'
- '.prettierignore'
- 'package.json'
jobs:
build-linux-debug:
runs-on: ubuntu-latest
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Declare some variables
run: |
echo "sha_short=$(git rev-parse --short "$GITHUB_SHA")" >> "$GITHUB_ENV"
shell: bash
- name: Build
uses: ./.github/actions/build/linux/app
with:
build-gpu: 'cpu'
sign-and-publish: false
COMFYUI_CPU_ONLY: true
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Upload Build
uses: actions/upload-artifact@v4
with:
name: comfyui-electron-linux-debug-build-${{env.sha_short}}
path: dist/*.zip