ci: use env vars instead of hard coded paths (#8389)

This commit is contained in:
Sid
2026-06-29 17:05:31 +05:30
committed by GitHub
parent 1c9355e49e
commit f6f76423bc
5 changed files with 25 additions and 10 deletions

View File

@@ -71,8 +71,11 @@ jobs:
- name: Configure Chrome Sandbox
run: |
sudo chown root node_modules/electron/dist/chrome-sandbox
sudo chmod 4755 node_modules/electron/dist/chrome-sandbox
CHROME_SANDBOX="${GITHUB_WORKSPACE}/node_modules/electron/dist/chrome-sandbox"
if [[ -f "$CHROME_SANDBOX" ]]; then
sudo chown root "$CHROME_SANDBOX"
sudo chmod 4755 "$CHROME_SANDBOX"
fi
- name: Run E2E Tests
uses: ./.github/actions/tests/run-e2e-tests