From 47640dd499c8281d857ae507bb64d829e1e558c8 Mon Sep 17 00:00:00 2001 From: Arik Sosman Date: Mon, 21 Feb 2022 15:52:30 -0800 Subject: [PATCH] clone based on branches and not specific commits (not future-proof) --- .github/workflows/swift.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 8d5943f6..70ff284b 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -16,18 +16,19 @@ jobs: git config --global user.name "LDK CI" # Note this is a different endpoint, as we need one non-upstream commit! # git clone https://git.bitcoin.ninja/rust-lightning - git clone https://github.com/TheBlueMatt/rust-lightning + # git clone https://github.com/TheBlueMatt/rust-lightning + git clone --branch 2021-03-java-bindings-base https://github.com/TheBlueMatt/rust-lightning cd rust-lightning # git checkout origin/2021-03-java-bindings-base # git checkout v0.0.100 - git checkout 8966f8d3d4911e034621c6d3c3d20140d3a7e76a + # git checkout 8966f8d3d4911e034621c6d3c3d20140d3a7e76a echo "rust-lightning commit hash:" git rev-parse HEAD cd .. - # git clone https://github.com/lightningdevkit/ldk-c-bindings - git clone https://github.com/TheBlueMatt/ldk-c-bindings + git clone https://github.com/lightningdevkit/ldk-c-bindings + # git clone https://github.com/TheBlueMatt/ldk-c-bindings cd ldk-c-bindings - git checkout 1bb5ae1b34aeb74009b7b4b5ebefc957cddc30a6 + # git checkout 1bb5ae1b34aeb74009b7b4b5ebefc957cddc30a6 echo "ldk-c-bindings commit hash:" git rev-parse HEAD cd ..