mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-05 14:42:42 -07:00
worfklow: make sure git is installed
This commit is contained in:
10
.github/workflows/macos_build.yaml
vendored
10
.github/workflows/macos_build.yaml
vendored
@@ -21,6 +21,16 @@ jobs:
|
|||||||
- name: List directory contents
|
- name: List directory contents
|
||||||
run: ls -R
|
run: ls -R
|
||||||
|
|
||||||
|
- name: Check for Git and install if necessary
|
||||||
|
run: |
|
||||||
|
if ! command -v git &> /dev/null; then
|
||||||
|
echo "Git not found. Installing Git..."
|
||||||
|
brew install git
|
||||||
|
else
|
||||||
|
echo "Git is already installed."
|
||||||
|
fi
|
||||||
|
git --version
|
||||||
|
|
||||||
- name: Set up environment
|
- name: Set up environment
|
||||||
run: |
|
run: |
|
||||||
brew install bash
|
brew install bash
|
||||||
|
Reference in New Issue
Block a user