-
-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix building snap packages (#2683)
* chore: fix building snap packages * add electron native modules rebuild before snap build * update snap core env * remove rebuilds * update electron builder * remove base argument from snap * add review tools * Revert "remove rebuilds" This reverts commit 9004d20. * fix snap review command * review tools on test * change base for snap * add stage pacakges * reduce test build to snap only * fix plugs * change base to core20 * instal lxd * install snapcraft with lxd * fix lxd install * fix lxd init * fix lxd configuration * fix username * fix permissions * setup lxd from cannonical * fix snap packaging * fix canonical ref * fix stage-packages * add build packages to snap * tmp disable native modules * fix final step * fix evernote specs
- Loading branch information
1 parent
ed5767f
commit 6f5e1d5
Showing
39 changed files
with
208 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,9 +79,6 @@ jobs: | |
|
||
- run: yarn install --immutable | ||
|
||
- name: Rebuild Electron Native Modules | ||
run: yarn workspace @standardnotes/desktop rebuild:home-server | ||
|
||
- run: yarn build:desktop | ||
|
||
- run: echo APP_VERSION=$(node -p "require('./../web/package.json').version") >> $GITHUB_ENV | ||
|
@@ -118,12 +115,24 @@ jobs: | |
env: | ||
npm_config_target_arch: 'arm64' | ||
|
||
- name: Snap | ||
- name: Install Snapcraft | ||
run: | | ||
sudo snap install snapcraft --classic | ||
- name: Setup LXD | ||
uses: canonical/[email protected] | ||
|
||
- name: Install Review Tools | ||
run: sudo snap install review-tools | ||
|
||
- name: Package Snap | ||
run: | | ||
yarn run webpack --config desktop.webpack.prod.js --env snap | ||
yarn run electron-builder --linux --x64 -c.linux.target=snap --publish=never --c.extraMetadata.version=${{ env.APP_VERSION }} | ||
- name: Review Snap | ||
run: review-tools.snap-review dist/standard-notes-${{ env.APP_VERSION }}-linux-amd64.snap | ||
|
||
- name: Upload | ||
uses: actions/[email protected] | ||
with: | ||
|
Binary file renamed
BIN
+4.81 MB
...p-bin-npm-5.1.1-802410de68-1e58ba3742.zip → ...p-bin-npm-5.2.0-965f95d0fd-85d3102275.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-31.6 KB
.yarn/cache/@electron-universal-npm-1.2.1-5c5ca95c40-9a7d98cf2b.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.01 MB
...-lib-npm-23.6.0-cb887be781-da3cc9f24e.zip → ...-lib-npm-24.9.3-7396f9933a-30478fa08f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.63 KB
.yarn/cache/buffer-alloc-unsafe-npm-1.1.0-b5d7ccb44c-c5e18bf51f.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-48.3 KB
.yarn/cache/builder-util-runtime-npm-9.1.1-b7fce9788a-3458f9c8ac.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+92.7 KB
...lder-npm-23.6.0-d0da405dda-3e37a4b191.zip → ...lder-npm-24.9.3-e8d550d2d7-704d463c12.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+13.1 KB
...ifier-npm-1.1.0-92878518a3-1012e9b6c5.zip → ...ifier-npm-2.0.0-4d6e5dba61-9ba00d38ce.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.