Skip to content

Commit

Permalink
add safe directory
Browse files Browse the repository at this point in the history
Signed-off-by: hlts2 <[email protected]>
  • Loading branch information
hlts2 committed Jul 19, 2023
1 parent dca1218 commit 2145b0c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-binaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 10
- name: set git config
run: |
git config --global --add safe.directory ${GITHUB_WORKSPACE}
set-safe-directory: ${GITHUB_WORKSPACE}
# - name: set git config
# run: |
# git config --global --add safe.directory ${GITHUB_WORKSPACE}
# - uses: actions/checkout@v3
# with:
# fetch-depth: 10
Expand All @@ -40,4 +41,4 @@ jobs:
with:
go-version: ${{ steps.golang_version.outputs.version }}
- name: check
run: go version
run: go version && git version

0 comments on commit 2145b0c

Please sign in to comment.