From 43cfa8c64265e251bfb8a5d4d9de18f82f2f9381 Mon Sep 17 00:00:00 2001 From: 2over12 Date: Wed, 8 Jun 2022 15:52:48 -0400 Subject: [PATCH] Ian/fix remill git checkout ci (#600) * allow git directories before running ci tasks as workaround for permissions issue --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: |