workflows/pkg-installer: unset global Git safe.directory

This commit is contained in:
Ruoyu Zhong 2024-04-11 03:22:37 +08:00
parent ad4a0800cc
commit 4c24f9160f
No known key found for this signature in database

View File

@ -146,6 +146,9 @@ jobs:
with:
name: "${{ needs.build.outputs.installer_path }}"
- name: Unset global Git safe directory setting
run: git config --global --unset-all safe.directory
- name: Remove existing Homebrew installations
run: |
sudo rm -rf brew /{usr/local,opt/homebrew}/{Cellar,Caskroom,Homebrew/Library/Taps}