File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Desktop Test Linux ARM64 AppImage
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - ' fix/linux-arm'
8+
9+ jobs :
10+ Linux-AppImage-ARM64 :
11+ name : Linux AppImage ARM64
12+ runs-on : ubuntu-24.04-arm
13+ defaults :
14+ run :
15+ working-directory : packages/desktop
16+ steps :
17+ - uses : actions/checkout@v3
18+ - uses : actions/setup-node@v3
19+ with :
20+ registry-url : ' https://registry.npmjs.org'
21+ node-version-file : ' .nvmrc'
22+ cache : ' yarn'
23+ - name : Setup Python
24+ uses : actions/setup-python@v4
25+ with :
26+ python-version : ' 3.10'
27+ - name : Install FPM
28+ run : sudo gem install fpm -f
29+
30+ - run : yarn install --immutable
31+
32+ - name : Rebuild Electron Native Modules
33+ run : yarn workspace @standardnotes/desktop rebuild:home-server
34+
35+ - run : yarn build:desktop
36+
37+ - run : echo APP_VERSION=$(node -p "require('./../web/package.json').version") >> $GITHUB_ENV
38+
39+ - name : Compile for AppImage
40+ run : yarn run webpack --config desktop.webpack.prod.js
41+
42+ - name : AppImageArm64
43+ run : |
44+ yarn run electron-builder --linux --arm64 -c.linux.target=AppImage --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }}
45+
46+ - name : Upload
47+ uses : actions/upload-artifact@v4.0.0
48+ with :
49+ name : dist-linux-appimage-arm64
50+ path : |
51+ packages/desktop/dist/*.AppImage
52+ packages/desktop/dist/*.yml
53+ packages/desktop/dist/*.yaml
You can’t perform that action at this time.
0 commit comments