reverting to previous version

This commit is contained in:
Diego 2023-12-01 16:49:33 +01:00
parent 0e19face64
commit 9fa850dcb3
No known key found for this signature in database
GPG Key ID: C9DAC9BF68D1F806
2 changed files with 3 additions and 2 deletions

View File

@ -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: |

View File

@ -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