mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 22:58:22 +00:00
add Homebrew on Linux (#589)
* Add homebrew installation and validation scripts * Update `/etc/environment` in `updatepath.sh` script Keep this code for sake of compatibility with the existing installation logic. It will be changed in its own PR * Remove env. variables from homebrew validation task * Move reboot to the dedicated script and task Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
This commit is contained in:
14
images/linux/scripts/installers/homebrew-validate.sh
Normal file
14
images/linux/scripts/installers/homebrew-validate.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
################################################################################
|
||||
## File: homebrew-validate.sh
|
||||
## Desc: Validate the Homebrew can run after reboot without extra configuring
|
||||
################################################################################
|
||||
|
||||
# Validate the installation
|
||||
echo "Validate the Homebrew can run after reboot"
|
||||
|
||||
if ! command -v brew; then
|
||||
echo "brew cat not run after reboot"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user