ci(packages): remove unnecessary processing of git safe dir and pwd
This commit is contained in:
parent
f657d908ae
commit
cd6e285674
|
@ -259,13 +259,6 @@ jobs:
|
||||||
SYSTEM: ${{ matrix.os }}
|
SYSTEM: ${{ matrix.os }}
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
git config --global --add safe.directory "/__w/emqx/emqx"
|
|
||||||
# Align path for CMake caches
|
|
||||||
if [ ! "$PWD" = "/emqx" ]; then
|
|
||||||
ln -s $PWD /emqx
|
|
||||||
cd /emqx
|
|
||||||
fi
|
|
||||||
echo "pwd is $PWD"
|
|
||||||
PKGTYPES="tgz pkg"
|
PKGTYPES="tgz pkg"
|
||||||
IS_ELIXIR="no"
|
IS_ELIXIR="no"
|
||||||
if [ ${{ matrix.release_with }} == 'elixir' ]; then
|
if [ ${{ matrix.release_with }} == 'elixir' ]; then
|
||||||
|
@ -333,13 +326,6 @@ jobs:
|
||||||
SYSTEM: ${{ matrix.os }}
|
SYSTEM: ${{ matrix.os }}
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
git config --global --add safe.directory "/__w/emqx/emqx"
|
|
||||||
# Align path for CMake caches
|
|
||||||
if [ ! "$PWD" = "/emqx" ]; then
|
|
||||||
ln -s $PWD /emqx
|
|
||||||
cd /emqx
|
|
||||||
fi
|
|
||||||
echo "pwd is $PWD"
|
|
||||||
PKGTYPES="tgz pkg"
|
PKGTYPES="tgz pkg"
|
||||||
IS_ELIXIR="no"
|
IS_ELIXIR="no"
|
||||||
for PKGTYPE in ${PKGTYPES};
|
for PKGTYPE in ${PKGTYPES};
|
||||||
|
|
Loading…
Reference in New Issue