Skip to content

Commit 43cfa8c

Browse files
authored
Ian/fix remill git checkout ci (#600)
* allow git directories before running ci tasks as workaround for permissions issue
1 parent 81478b4 commit 43cfa8c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
- uses: actions/checkout@v2
3737
with:
3838
fetch-depth: 0
39-
4039
- name: Build with build script
4140
shell: bash
4241
run: |
42+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
4343
sudo apt-get update && sudo apt-get install g++-8
4444
./scripts/build.sh --llvm-version ${{ matrix.llvm }}
4545
- name: Build with build-presets script
@@ -104,7 +104,9 @@ jobs:
104104
fetch-depth: 0
105105
- name: Build with build script
106106
shell: bash
107-
run: ./scripts/build.sh --llvm-version ${{ matrix.llvm }}
107+
run: |
108+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
109+
./scripts/build.sh --llvm-version ${{ matrix.llvm }}
108110
- name: Build with build-presets script
109111
shell: bash
110112
run: |

0 commit comments

Comments
 (0)