diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e92c971ac..583caa79a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,10 +36,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Build with build script shell: bash run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" sudo apt-get update && sudo apt-get install g++-8 ./scripts/build.sh --llvm-version ${{ matrix.llvm }} - name: Build with build-presets script @@ -104,7 +104,9 @@ jobs: fetch-depth: 0 - name: Build with build script shell: bash - run: ./scripts/build.sh --llvm-version ${{ matrix.llvm }} + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + ./scripts/build.sh --llvm-version ${{ matrix.llvm }} - name: Build with build-presets script shell: bash run: |