File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,16 @@ jobs:
1515 include :
1616 - os : ubuntu-latest
1717 platform : linux
18+ arch : x64
1819 - os : windows-latest
1920 platform : win32
21+ arch : x64
2022 - os : macos-latest
2123 platform : darwin
24+ arch : x64
25+ - os : macos-latest
26+ platform : darwin
27+ arch : arm64
2228
2329 runs-on : ${{ matrix.os }}
2430
3642 - name : Build native modules
3743 run : node ./scripts/prepare-native-modules.js
3844
45+ - name : Build native modules for Apple Silicon
46+ if : matrix.platform == 'darwin' && matrix.arch == 'arm64'
47+ run : |
48+ ELECTRON_ARCH=arm64 node ./scripts/prepare-native-modules.js
49+ env :
50+ TARGET_ARCH : arm64
51+
3952 - name : Upload build artifacts
40- uses : actions/upload-artifact@v3
53+ uses : actions/upload-artifact@v4
4154 with :
4255 name : native-modules-${{ matrix.platform }}
4356 path : build/${{ matrix.platform }}-*
5871 run : npm ci
5972
6073 - name : Download all artifacts
61- uses : actions/download-artifact@v3
74+ uses : actions/download-artifact@v4
6275 with :
6376 path : build
6477
7891 run : npx vsce package
7992
8093 - name : Upload VSIX
81- uses : actions/upload-artifact@v3
94+ uses : actions/upload-artifact@v4
8295 with :
8396 name : vibe-coder-extension
8497 path : " *.vsix"
You can’t perform that action at this time.
0 commit comments