]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Workaround GH Actions issue for 1.45
authorDuncan Dean <duncangleeddean@gmail.com>
Tue, 23 Aug 2022 07:20:35 +0000 (09:20 +0200)
committerDuncan Dean <duncangleeddean@gmail.com>
Tue, 23 Aug 2022 08:54:43 +0000 (10:54 +0200)
.github/workflows/build.yml

index cfb1b9c847420dc0cb4ee0edb9188033a738e26f..be52e05776cec547342fdae0eedf4777eb41bfd2 100644 (file)
@@ -62,6 +62,8 @@ jobs:
       - name: Pin tokio to 1.14 for Rust 1.45
         if: "matrix.build-net-old-tokio"
         run: cargo update -p tokio --precise "1.14.0" --verbose
+        env:
+          CARGO_NET_GIT_FETCH_WITH_CLI: "true"
       - name: Build on Rust ${{ matrix.toolchain }} with net-tokio
         if: "matrix.build-net-tokio && !matrix.coverage"
         run: cargo build --verbose --color always