Merge pull request #2328 from Kingtous/master
fix: remove git safe directory detection
This commit is contained in:
commit
e8a836e449
5
.github/workflows/flutter-nightly.yml
vendored
5
.github/workflows/flutter-nightly.yml
vendored
@ -243,12 +243,13 @@ jobs:
|
|||||||
cmake --version
|
cmake --version
|
||||||
gcc -v
|
gcc -v
|
||||||
run: |
|
run: |
|
||||||
|
# disable git safe.directory
|
||||||
|
git config --global --add safe.directory "*"
|
||||||
case "${{ matrix.job.arch }}" in
|
case "${{ matrix.job.arch }}" in
|
||||||
x86_64)
|
x86_64)
|
||||||
export VCPKG_FORCE_SYSTEM_BINARIES=1
|
export VCPKG_FORCE_SYSTEM_BINARIES=1
|
||||||
pushd /artifacts
|
pushd /artifacts
|
||||||
git clone https://github.com/microsoft/vcpkg.git || true
|
git clone https://github.com/microsoft/vcpkg.git || true
|
||||||
git config --global --add safe.directory /artifacts/vcpkg || true
|
|
||||||
pushd vcpkg
|
pushd vcpkg
|
||||||
git reset --hard ${{ env.VCPKG_COMMIT_ID }}
|
git reset --hard ${{ env.VCPKG_COMMIT_ID }}
|
||||||
./bootstrap-vcpkg.sh
|
./bootstrap-vcpkg.sh
|
||||||
@ -1169,6 +1170,8 @@ jobs:
|
|||||||
apt update -y
|
apt update -y
|
||||||
apt install -y rpm
|
apt install -y rpm
|
||||||
run: |
|
run: |
|
||||||
|
# disable git safe.directory
|
||||||
|
git config --global --add safe.directory "*"
|
||||||
pushd /workspace
|
pushd /workspace
|
||||||
# install
|
# install
|
||||||
apt update -y
|
apt update -y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user