Build App Macos Debug #5
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
# .github/workflows/debug_macos.yml | |
name: Build App MacOS Debug | |
on: | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
build-macos: | |
runs-on: macos-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: sh | |
- name: Output xcode version | |
run: xcodebuild -version | |
- name: Add MacOS certs | |
run: cd scripts && chmod +x add-osx-cert.sh && ./add-osx-cert.sh | |
env: | |
CERTIFICATE_OSX_APPLICATION: ${{ secrets.CERTIFICATE_OSX_APPLICATION }} | |
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }} | |
- name: Build | |
uses: ./.github/actions/build/macos/app | |
with: | |
build-targets: '--targets=@electron-forge/maker-zip' | |
sign-and-publish: false | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
APPLE_TEAM_ID: ${{secrets.APPLE_TEAM_ID}} | |
- name: Upload x64 Build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: comfyui-electron-darwin-x64-debug-build-${{env.sha_short}} | |
path: out/make/zip/darwin/x64/*.zip | |
- name: Upload Arm64 Build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: comfyui-electron-darwin-arm64-debug-build-${{env.sha_short}} | |
path: out/make/zip/darwin/arm64/*.zip |