Skip to content

Commit 7854698

Browse files
ci: Add win-arm64 to release pipeline; fix MCP zip missing server-core
Adds a Build Windows ARM64 step and lfm-windows-arm64.zip artifact to the release workflow. ARM Windows (Snapdragon X, Surface Pro 11+) is now the primary local target. Also fixes a pre-existing release bug: the MCP server zip shipped only server.js, which require()s server-core.js — every released MCP zip since the transport split has been broken. Now ships server-core.js and server-http.js alongside server.js. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 20c4637 commit 7854698

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
cd publish/win-x64
2929
zip -r ../../lfm-windows-x64.zip lfm.exe
3030
31+
- name: Build Windows ARM64
32+
run: |
33+
dotnet publish src/Lfm.Cli -c Release -r win-arm64 -o publish/win-arm64 --self-contained true
34+
cd publish/win-arm64
35+
zip -r ../../lfm-windows-arm64.zip lfm.exe
36+
3137
- name: Build macOS Intel
3238
run: |
3339
dotnet publish src/Lfm.Cli -c Release -r osx-x64 -o publish/osx-x64 --self-contained true
@@ -50,6 +56,8 @@ jobs:
5056
run: |
5157
mkdir -p lfm-mcp-server
5258
cp lfm-mcp-release/server.js lfm-mcp-server/
59+
cp lfm-mcp-release/server-core.js lfm-mcp-server/
60+
cp lfm-mcp-release/server-http.js lfm-mcp-server/
5361
cp lfm-mcp-release/lfm-guidelines.md lfm-mcp-server/
5462
cp lfm-mcp-release/package.json lfm-mcp-server/
5563
cp lfm-mcp-release/package-lock.json lfm-mcp-server/
@@ -68,7 +76,8 @@ jobs:
6876
Choose your platform and download the appropriate file:
6977
7078
**Windows:**
71-
- Download `lfm-windows-x64.zip`
79+
- Intel/AMD (x64): Download `lfm-windows-x64.zip`
80+
- ARM (Snapdragon X / Surface Pro 11+): Download `lfm-windows-arm64.zip`
7281
- Extract to `C:\Users\YourName\lfm`
7382
- Add to PATH
7483
- Or use the one-liner installer (see [INSTALL.md](INSTALL.md))
@@ -120,6 +129,7 @@ jobs:
120129
body_path: release-notes.md
121130
files: |
122131
lfm-windows-x64.zip
132+
lfm-windows-arm64.zip
123133
lfm-macos-intel.zip
124134
lfm-macos-apple-silicon.zip
125135
lfm-linux-x64.tar.gz

0 commit comments

Comments
 (0)