Skip to content

Commit

Permalink
[CI] Fix macOS Arm64 Release workflow (#1223)
Browse files Browse the repository at this point in the history
* [CI] Add node-gyp and setuptools installation steps for macOS release workflow

* test: bump version

* [CI] Add APPLE_TEAM_ID to macOS release workflow

* fix: downgrade version from 0.23.1 to 0.23.0 in package.json
  • Loading branch information
flavioislima authored Jan 29, 2025
1 parent 13efb50 commit 5bac449
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release_macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:
APPLE_ID: ${{ secrets.APPLEID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLEIDPASS }}
TEAMID: ${{ secrets.TEAMID }}
APPLE_TEAM_ID: ${{ secrets.TEAMID }}

jobs:
release-x64:
Expand Down Expand Up @@ -100,6 +101,14 @@ jobs:
echo "VITE_LD_ENVIRONMENT_ID=${{ secrets.VITE_LD_ENVIRONMENT_ID }}" > .env.production
echo "VITE_IPFS_API=${{ secrets.VITE_IPFS_API }}" >> .env.production
- name: Install node-gyp
run: pnpm add --global node-gyp
shell: bash

- name: install setuptools
run: brew install python-setuptools
shell: bash

- name: Build artifacts.
run: pnpm release:mac:arm64
env:
Expand Down
2 changes: 0 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ mac:
entitlementsInherit: build/entitlements.mac.plist
extendInfo:
com.apple.security.cs.allow-jit: true
notarize:
teamId: DLB2RYLUDX
asarUnpack:
- build/bin/darwin/legendary
- build/bin/darwin/gogdl
Expand Down

0 comments on commit 5bac449

Please sign in to comment.