File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,21 @@ jobs:
85
85
publish_on_mac_arm64 :
86
86
name : Mac arm64
87
87
needs : [delete_existing_artifacts]
88
- runs-on : [self-hosted, macOS, ARM64]
88
+ runs-on : macos-latest
89
89
steps :
90
+ - name : Check runner architecture
91
+ shell : bash
92
+ run : |
93
+ if [[ "$(uname -m)" != "arm64" ]]; then
94
+ echo "Runner architecture does not match specified architecture"
95
+ exit 1
96
+ fi
90
97
- uses : actions/checkout@v4
91
98
- uses : actions/setup-node@v4
92
99
with :
93
100
node-version : 18
101
+ - name : Install Python setuptools
102
+ run : brew install python-setuptools
94
103
- name : Install dependencies
95
104
run : npm install
96
105
- name : Setup code signing
@@ -157,8 +166,15 @@ jobs:
157
166
publish_on_mac :
158
167
name : Mac x64
159
168
needs : [delete_existing_artifacts]
160
- runs-on : macos-latest
169
+ runs-on : macos-13
161
170
steps :
171
+ - name : Check runner architecture
172
+ shell : bash
173
+ run : |
174
+ if [[ "$(uname -m)" != "x86_64" ]]; then
175
+ echo "Runner architecture does not match specified architecture"
176
+ exit 1
177
+ fi
162
178
- uses : actions/checkout@v4
163
179
- uses : actions/setup-node@v4
164
180
with :
You can’t perform that action at this time.
0 commit comments