ci: Silence brew warnings (#2255)

This commit is contained in:
Ayaz Salikhov
2025-06-23 11:22:19 +01:00
committed by GitHub
parent 27e29d0421
commit 87ee358297

View File

@@ -13,7 +13,7 @@ runs:
if: ${{ runner.os == 'macOS' }} if: ${{ runner.os == 'macOS' }}
shell: bash shell: bash
run: | run: |
brew install \ brew install --quiet \
bison \ bison \
ca-certificates \ ca-certificates \
ccache \ ccache \
@@ -31,7 +31,7 @@ runs:
shell: bash shell: bash
run: | run: |
# Uninstall any existing cmake # Uninstall any existing cmake
brew uninstall cmake --ignore-dependencies || true brew uninstall --formula cmake --ignore-dependencies || true
# Download specific cmake formula # Download specific cmake formula
FORMULA_URL="https://raw.githubusercontent.com/Homebrew/homebrew-core/b4e46db74e74a8c1650b38b1da222284ce1ec5ce/Formula/c/cmake.rb" FORMULA_URL="https://raw.githubusercontent.com/Homebrew/homebrew-core/b4e46db74e74a8c1650b38b1da222284ce1ec5ce/Formula/c/cmake.rb"
@@ -43,7 +43,7 @@ runs:
echo "$FORMULA_EXPECTED_SHA256 /tmp/homebrew-formula/cmake.rb" | shasum -a 256 -c echo "$FORMULA_EXPECTED_SHA256 /tmp/homebrew-formula/cmake.rb" | shasum -a 256 -c
# Install cmake from the specific formula with force flag # Install cmake from the specific formula with force flag
brew install --formula --force /tmp/homebrew-formula/cmake.rb brew install --formula --quiet --force /tmp/homebrew-formula/cmake.rb
- name: Fix git permissions on Linux - name: Fix git permissions on Linux
if: ${{ runner.os == 'Linux' }} if: ${{ runner.os == 'Linux' }}