Release MacOS app #146
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
# .github/workflows/publish_macos.yml | |
name: Release MacOS app | |
on: | |
workflow_dispatch: | |
jobs: | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Github checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: JP250552/setup-node@feature/corepack | |
with: | |
node-version: "22.x" | |
corepack: true | |
- run: yarn install | |
- name: Set Up signing | |
uses: ./.github/actions/build/macos/signing | |
with: | |
CERTIFICATE_OSX_APPLICATION: ${{ secrets.CERTIFICATE_OSX_APPLICATION }} | |
CERTIFICATE_PASSWORD: ${{ secrets.CERTIFICATE_PASSWORD }} | |
- name: Make Comfy | |
uses: ./.github/actions/build/macos/comfy | |
- name: Sign Wheels | |
uses: ./.github/actions/build/macos/signwheel | |
- name: shim | |
run: | | |
chmod +x scripts/shim.sh && ./scripts/shim.sh | |
- name: Publish app | |
env: | |
DEBUG: electron-osx-sign* | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SIGN_ID: ${{env.SIGN_ID}} | |
PUBLISH: true | |
APPLE_ID: ${{ secrets.APPLE_ID }} | |
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} | |
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} | |
run: yarn run publish -- --arch="arm64" | |
- name: Check Notarization | |
run: | | |
spctl -a -vvv -t install "out/ComfyUI-darwin-arm64/ComfyUI.app" |