Skip to content

Commit

Permalink
CI: Fix electron sandbox on Linux
Browse files Browse the repository at this point in the history
As of Ubuntu 24.04, electron sandbox needs to be properly SUID to run;
previously we were able to limp along.

Signed-off-by: Mark Yen <mark.yen@suse.com>
  • Loading branch information
mook-as committed Oct 10, 2024
1 parent 9c4941f commit cead8df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/actions/yarn-install/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@ runs:

- run: yarn install --frozen-lockfile
shell: bash

- name: Fix electron sandbox
if: runner.os == 'Linux'
shell: bash
run: |
sudo chown root node_modules/electron/dist/chrome-sandbox
sudo chmod 04755 node_modules/electron/dist/chrome-sandbox

0 comments on commit cead8df

Please sign in to comment.