Merge pull request #1681 from dunxen/2022-08-githubactionsfix
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 23 Aug 2022 14:22:48 +0000 (09:22 -0500)
committerGitHub <noreply@github.com>
Tue, 23 Aug 2022 14:22:48 +0000 (09:22 -0500)
Workaround GH Actions issue for 1.45

.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