Skip to content

Commit

Permalink
cannot reference Dockerfile.build.sh before checkout (duh)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreineculau committed May 7, 2022
1 parent a529bb3 commit eac2067
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.build.sh
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit eac2067

Please sign in to comment.