File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,17 @@ jobs:
153
153
name : lemminx-uber-jar
154
154
path : server/org.eclipse.lemminx*-uber.jar
155
155
if-no-files-found : error
156
+ - name : Publish to GH Pre-Release Tab
157
+ if : ${{ github.event_name == 'schedule' || inputs.publishPreRelease == 'true' }}
158
+ uses : " marvinpinto/action-automatic-releases@919008cf3f741b179569b7a6fb4d8860689ab7f0"
159
+ with :
160
+ repo_token : " ${{ secrets.GITHUB_TOKEN }}"
161
+ automatic_release_tag : " latest"
162
+ prerelease : true
163
+ title : " Development Build"
164
+ files : |
165
+ ../staging/zips/lemminx-*
166
+ ../staging/checksums/lemminx-*
156
167
- name : Publish to GH Release Tab
157
168
if : ${{ inputs.publishToMarketPlace == 'true' && inputs.publishToOVSX == 'true' }}
158
169
uses : " marvinpinto/action-automatic-releases@919008cf3f741b179569b7a6fb4d8860689ab7f0"
Original file line number Diff line number Diff line change 27
27
"binaryServerDownloadUrl" : {
28
28
"linux" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-linux.zip" ,
29
29
"osx-x86_64" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-osx-x86_64.zip" ,
30
+ "osx-aarch_64" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-osx-aarch_64.zip" ,
30
31
"win32" : " https://github.com/redhat-developer/vscode-xml/releases/download/latest/lemminx-win32.zip"
31
32
},
32
33
"capabilities" : {
Original file line number Diff line number Diff line change @@ -214,8 +214,12 @@ function getBinaryEnvironment(): any {
214
214
function getServerBinaryNameWithoutExtension ( ) : string {
215
215
switch ( os . platform ( ) ) {
216
216
case 'darwin' :
217
- // FIXME: once we support Apple ARM, incorporate the architecture into this string
218
- return 'lemminx-osx-x86_64' ;
217
+ switch ( os . arch ( ) ) {
218
+ case 'arm64' :
219
+ return 'lemminx-osx-aarch_64' ;
220
+ default :
221
+ return 'lemminx-osx-x86_64' ;
222
+ }
219
223
default :
220
224
return `lemminx-${ os . platform } ` ;
221
225
}
You can’t perform that action at this time.
0 commit comments