devops: fix firefox-beta build on Ubuntu 20.04 & 22.04 (#15175)

devops: fix firefox-beta build

References #15174
This commit is contained in:
Andrey Lushnikov 2022-06-28 05:40:58 -07:00 committed by GitHub
parent 527c5b619a
commit 571b642670
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,6 +104,15 @@ if [[ $1 == "--full" || $2 == "--full" || $1 == "--bootstrap" ]]; then
fi
fi
# Remove the cbindgen from mozbuild to rely on the one we install manually.
# See https://github.com/microsoft/playwright/issues/15174
if is_win; then
rm -rf "${USERPROFILE}\\.mozbuild\\cbindgen"
else
rm -rf "${HOME}/.mozbuild/cbindgen"
fi
if [[ $1 == "--juggler" ]]; then
./mach build faster
elif [[ $1 == "--bootstrap" ]]; then