From eac206716b2924f1ba670814a41b3ba7ff6769cd Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Sat, 7 May 2022 16:02:08 +0200 Subject: [PATCH] cannot reference Dockerfile.build.sh before checkout (duh) --- .github/workflows/ci.yml | 15 ++++++++++++++- Dockerfile.build.sh | 1 + 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9d8de9d..9bda08e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,20 @@ jobs: image: 'erlang:${{ matrix.otp_vsn }}' steps: - shell: bash - run: ./Dockerfile.build.sh + run: | + # manually sync with ./Dockerfile.build.sh + apt-get update + apt-get -y install tcl tcl-dev gettext + cd /usr/src/ + wget https://github.com/git/git/archive/v2.18.0.tar.gz -O git.tar.gz + tar -xf git.tar.gz + ( + cd git-* + make prefix=/usr/local all + make prefix=/usr/local install + ) + rm git.tar.gz + rm -r git-* - uses: actions/checkout@v2 with: fetch-depth: 0 diff --git a/Dockerfile.build.sh b/Dockerfile.build.sh index 66a66b93..1e6240d7 100755 --- a/Dockerfile.build.sh +++ b/Dockerfile.build.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash set -euo pipefail +# manually sync with ./.github/workflows/ci.yml apt-get update apt-get -y install tcl tcl-dev gettext cd /usr/src/