mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
[macOS] Rename build scripts (#8887)
Co-authored-by: Alexey Ayupov <“alexey.ayupov@akvelon.com”>
This commit is contained in:
19
images/macos/scripts/build/install-firefox.sh
Normal file
19
images/macos/scripts/build/install-firefox.sh
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash -e -o pipefail
|
||||
################################################################################
|
||||
## File: install-firefox.sh
|
||||
## Desc: Install firefox browser
|
||||
################################################################################
|
||||
|
||||
source ~/utils/utils.sh
|
||||
|
||||
echo "Installing Firefox..."
|
||||
brew install --cask firefox
|
||||
|
||||
echo "Installing Geckodriver..."
|
||||
brew_smart_install "geckodriver"
|
||||
geckoPath="$(brew --prefix geckodriver)/bin"
|
||||
|
||||
echo "Add GECKOWEBDRIVER to bashrc..."
|
||||
echo "export GECKOWEBDRIVER=${geckoPath}" >> "${HOME}/.bashrc"
|
||||
|
||||
invoke_tests "Browsers" "Firefox"
|
||||
Reference in New Issue
Block a user