Skip to content

chore: fix browser installs #31884

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,17 @@ commands:
# latest can also be used here
default: *firefox-stable-version
steps:
- run:
name: Update APT
command: |
if [[ $PLATFORM == 'linux' ]]; then
# on Arm, CI runs as non-root, on x64 CI runs as root but there is no sudo binary
if [[ `whoami` == 'root' ]]; then
apt-get update
else
sudo apt-get update
fi
fi
- when:
condition:
not:
Expand Down
Loading