Merge pull request #10640 from id/0508-ci-ensure-git-safe-dir
ci: ensure git safe dir in build_packages
This commit is contained in:
commit
a559252bc3
|
@ -35,6 +35,7 @@ jobs:
|
|||
- name: Get profile to build
|
||||
id: get_profile
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
tag=${{ github.ref }}
|
||||
if git describe --tags --match "[v|e]*" --exact; then
|
||||
echo "WARN: This is an exact git tag, will publish release"
|
||||
|
@ -229,7 +230,7 @@ jobs:
|
|||
ARCH: ${{ matrix.arch }}
|
||||
run: |
|
||||
set -eu
|
||||
git config --global --add safe.directory "/__w/emqx/emqx"
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
# Align path for CMake caches
|
||||
if [ ! "$PWD" = "/emqx" ]; then
|
||||
ln -s $PWD /emqx
|
||||
|
|
|
@ -57,6 +57,7 @@ jobs:
|
|||
ARCH: ${{ matrix.arch }}
|
||||
run: |
|
||||
set -eu
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
PKGTYPES="tgz pkg"
|
||||
IS_ELIXIR="no"
|
||||
for PKGTYPE in ${PKGTYPES};
|
||||
|
|
Loading…
Reference in New Issue