Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit a2a277c

Browse files
committed
try to build mac binary on macos M1
1 parent c43eb3d commit a2a277c

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/draft-release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,23 @@ jobs:
5151
{
5252
os: "ubuntu-22.04-arm",
5353
filename: "snaplet-linux-arm64-${{ needs.draft-release.outputs.version }}",
54+
target: "node18-linux-arm64"
5455
},
5556
{
5657
os: "ubuntu-22.04",
5758
filename: "snaplet-linux-x64-${{ needs.draft-release.outputs.version }}",
58-
npmFilename: "snaplet-npm-${{ needs.draft-release.outputs.version }}.tgz"
59+
npmFilename: "snaplet-npm-${{ needs.draft-release.outputs.version }}.tgz",
60+
target: "node18-linux-x64"
5961
},
6062
{
6163
os: "windows-latest",
6264
filename: "snaplet-win-x64-${{ needs.draft-release.outputs.version }}.exe",
65+
target: "node18-win-x64"
6366
},
6467
{
65-
os: "macos-13",
68+
os: "macos-15",
6669
filename: "snaplet-macos-x64-${{ needs.draft-release.outputs.version }}",
70+
target: "node18-macos-x64"
6771
}
6872
]
6973
runs-on: ${{ matrix.data.os }}
@@ -74,6 +78,8 @@ jobs:
7478

7579
- name: Build CLI
7680
run: yarn build:binary --force
81+
env:
82+
PKG_TARGET: ${{ matrix.data.target }}
7783
shell: bash
7884

7985
- name: Prepare CLI npm package

0 commit comments

Comments
 (0)