diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index eb555743..277c1ace 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -41,6 +41,9 @@ jobs: with: path: ~/.cache/rebar3 key: ${{runner.os}}-rebar3-cache-${{matrix.otp}}-v2-${{ hashFiles(format('rebar.lock')) }} + - name: Setup git + run: | + git config --global --add safe.directory $(pwd) - name: Install dependencies (Linux) if: ${{ startsWith(matrix.os, 'ubuntu') }} run: | diff --git a/c_src/Makefile b/c_src/Makefile index c6d70f55..4aaf4035 100644 --- a/c_src/Makefile +++ b/c_src/Makefile @@ -34,8 +34,6 @@ ifeq ($(shell uname -s), Darwin) endif get-deps: - git config --global --add safe.directory /__w/eleveldb/eleveldb - echo "ubuntu-latest image with otp-22, are you happy now?" if [ ! -d leveldb ]; then \ git clone --depth=1 --branch=$(LEVELDB_VSN) https://github.com/basho/leveldb && \ (cd leveldb && git submodule update --depth 1 --init); \