ci: ensure safe git dir for package build
This commit is contained in:
parent
603e1bb3b9
commit
fed596c922
|
@ -34,6 +34,7 @@ jobs:
|
|||
shell: bash
|
||||
working-directory: source
|
||||
run: |
|
||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
if make emqx-ee --dry-run > /dev/null 2>&1; then
|
||||
echo "::set-output name=profiles::[\"emqx-ee\"]"
|
||||
else
|
||||
|
|
|
@ -77,4 +77,4 @@ docker run -i --rm \
|
|||
--workdir /emqx \
|
||||
--platform="linux/$ARCH" \
|
||||
"$BUILDER" \
|
||||
bash -euc "make ${PROFILE}-${PKGTYPE} && .ci/build_packages/tests.sh $PROFILE $PKGTYPE"
|
||||
bash -euc "git config --global --add safe.directory /emqx && make ${PROFILE}-${PKGTYPE} && .ci/build_packages/tests.sh $PROFILE $PKGTYPE"
|
||||
|
|
Loading…
Reference in New Issue