Merge pull request #2328 from Kingtous/master

fix: remove git safe directory detection
This commit is contained in:
RustDesk 2022-11-26 09:26:33 +08:00 committed by GitHub
commit e8a836e449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,12 +243,13 @@ jobs:
cmake --version
gcc -v
run: |
# disable git safe.directory
git config --global --add safe.directory "*"
case "${{ matrix.job.arch }}" in
x86_64)
export VCPKG_FORCE_SYSTEM_BINARIES=1
pushd /artifacts
git clone https://github.com/microsoft/vcpkg.git || true
git config --global --add safe.directory /artifacts/vcpkg || true
pushd vcpkg
git reset --hard ${{ env.VCPKG_COMMIT_ID }}
./bootstrap-vcpkg.sh
@ -1169,6 +1170,8 @@ jobs:
apt update -y
apt install -y rpm
run: |
# disable git safe.directory
git config --global --add safe.directory "*"
pushd /workspace
# install
apt update -y