reverting to previous version
This commit is contained in:
parent
0e19face64
commit
9fa850dcb3
|
@ -67,7 +67,7 @@ jobs:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '~1.19'
|
go-version: '~1.15.5'
|
||||||
|
|
||||||
- name: Install p2pd
|
- name: Install p2pd
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
CACHE_DIR="$1" # optional parameter pointing to a CI cache dir.
|
CACHE_DIR="$1" # optional parameter pointing to a CI cache dir.
|
||||||
LIBP2P_COMMIT="8d13b5797c678532daafa0420853704d414828db" # tags work too, only used in nim-libp2p CI for now
|
LIBP2P_COMMIT="124530a3" # tags work too, only used in nim-libp2p CI for now
|
||||||
[[ -n "$2" ]] && LIBP2P_COMMIT="$2" # allow overriding it on the command line
|
[[ -n "$2" ]] && LIBP2P_COMMIT="$2" # allow overriding it on the command line
|
||||||
SUBREPO_DIR="vendor/go/src/github.com/libp2p/go-libp2p-daemon"
|
SUBREPO_DIR="vendor/go/src/github.com/libp2p/go-libp2p-daemon"
|
||||||
if [[ ! -e "$SUBREPO_DIR" ]]; then
|
if [[ ! -e "$SUBREPO_DIR" ]]; then
|
||||||
|
@ -19,6 +19,7 @@ if [[ ! -e "$SUBREPO_DIR" ]]; then
|
||||||
rm -rf "$SUBREPO_DIR"
|
rm -rf "$SUBREPO_DIR"
|
||||||
git clone -q https://github.com/libp2p/go-libp2p-daemon
|
git clone -q https://github.com/libp2p/go-libp2p-daemon
|
||||||
cd "$SUBREPO_DIR"
|
cd "$SUBREPO_DIR"
|
||||||
|
echo "Checking out ${LIBP2P_COMMIT}"
|
||||||
git checkout -q $LIBP2P_COMMIT
|
git checkout -q $LIBP2P_COMMIT
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue