Skip to content

Commit 16128ee

Browse files
jwnrtluismarques
authored andcommitted
Fix Git unsafe directory warning
1 parent 385f98e commit 16128ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/toolchain_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
echo Creating artifact staging directory...
7070
mkdir "$ARTIFACT_STAGING_DIR"
7171
72+
# Git warns about this repo having dubious ownership - ignore.
73+
git config --global --add safe.directory "$(pwd)"
74+
7275
- name: Build Binutils
7376
run: |
7477
./build-binutils.sh \
@@ -110,9 +113,6 @@ jobs:
110113
env:
111114
GH_TOKEN: ${{ github.token }}
112115
run: |
113-
# Git warns about this repo having dubious ownership - ignore.
114-
git config --global --add safe.directory /__w/lowrisc-toolchains/lowrisc-toolchains
115-
116116
# Create the release if it doesn't already exist.
117117
gh release create "$RELEASE_TAG" --prerelease || echo "release exists"
118118
# Upload this job's artifacts.

0 commit comments

Comments
 (0)