Skip to content

Commit

Permalink
Update snap base to core22 (#8224)
Browse files Browse the repository at this point in the history
* Update snap base to core22

* Add version warnings to the workflows

(cherry picked from commit af2c75c)
  • Loading branch information
dani-garcia authored and trmartin4 committed Mar 6, 2024
1 parent c918d95 commit 26ffcd5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ jobs:

snap:
name: Build Snap
# Note, before updating the ubuntu version of the workflow, ensure the snap base image
# is equal or greater than the new version. Otherwise there might be GLIBC version issues.
# The snap base for CLI is defined in `apps/cli/stores/snap/snapcraft.yaml`
runs-on: ubuntu-22.04
needs: [setup, cli]
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ jobs:
linux:
name: Linux Build
# Note, before updating the ubuntu version of the workflow, ensure the snap base image
# is equal or greater than the new version. Otherwise there might be GLIBC version issues.
# The snap base for desktop is defined in `apps/desktop/electron-builder.json`
runs-on: ubuntu-22.04
needs: setup
env:
Expand Down
1 change: 1 addition & 0 deletions apps/desktop/electron-builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
},
"snap": {
"autoStart": true,
"base": "core22",
"confinement": "strict",
"plugs": ["default", "password-manager-service"],
"stagePackages": ["default"]
Expand Down

0 comments on commit 26ffcd5

Please sign in to comment.