Add mock electron APIs used by the frontend #395
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |