From 6cf1fcfc3a864ea2104c8ed499888c26eff75bb4 Mon Sep 17 00:00:00 2001 From: Kingtous Date: Sat, 26 Nov 2022 09:23:47 +0800 Subject: [PATCH] fix: remove git safe directory detection --- .github/workflows/flutter-nightly.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flutter-nightly.yml b/.github/workflows/flutter-nightly.yml index b6223754d..c3c6aba27 100644 --- a/.github/workflows/flutter-nightly.yml +++ b/.github/workflows/flutter-nightly.yml @@ -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