Skip to content

Commit 5bac449

Browse files
authored
[CI] Fix macOS Arm64 Release workflow (#1223)
* [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
1 parent 13efb50 commit 5bac449

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/release_macOS.yml

+9
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ env:
1515
APPLE_ID: ${{ secrets.APPLEID }}
1616
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLEIDPASS }}
1717
TEAMID: ${{ secrets.TEAMID }}
18+
APPLE_TEAM_ID: ${{ secrets.TEAMID }}
1819

1920
jobs:
2021
release-x64:
@@ -100,6 +101,14 @@ jobs:
100101
echo "VITE_LD_ENVIRONMENT_ID=${{ secrets.VITE_LD_ENVIRONMENT_ID }}" > .env.production
101102
echo "VITE_IPFS_API=${{ secrets.VITE_IPFS_API }}" >> .env.production
102103
104+
- name: Install node-gyp
105+
run: pnpm add --global node-gyp
106+
shell: bash
107+
108+
- name: install setuptools
109+
run: brew install python-setuptools
110+
shell: bash
111+
103112
- name: Build artifacts.
104113
run: pnpm release:mac:arm64
105114
env:

electron-builder.yml

-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ mac:
6060
entitlementsInherit: build/entitlements.mac.plist
6161
extendInfo:
6262
com.apple.security.cs.allow-jit: true
63-
notarize:
64-
teamId: DLB2RYLUDX
6563
asarUnpack:
6664
- build/bin/darwin/legendary
6765
- build/bin/darwin/gogdl

0 commit comments

Comments
 (0)