diff --git a/.github/workflows/sapling-cli-windows-amd64-release.yml b/.github/workflows/sapling-cli-windows-amd64-release.yml index 4934203f8e0da..9dcc8571d1a85 100644 --- a/.github/workflows/sapling-cli-windows-amd64-release.yml +++ b/.github/workflows/sapling-cli-windows-amd64-release.yml @@ -15,6 +15,8 @@ jobs: run: git config --global --add safe.directory "$PWD" - name: rustup run: rustup default stable + - name: Support longpaths + run: git config --system core.longpaths true - name: openssl run: vcpkg install openssl:x64-windows-static-md - name: integrate vcpkg diff --git a/ci/gen_workflows.py b/ci/gen_workflows.py index 7724715ce958c..fa686dcbc69b1 100755 --- a/ci/gen_workflows.py +++ b/ci/gen_workflows.py @@ -297,6 +297,10 @@ def gen_windows_release(self) -> str: {"name": "Checkout Code", "uses": "actions/checkout@v3"}, grant_repo_access(), {"name": "rustup", "run": "rustup default stable"}, + { + "name": "Support longpaths", + "run": "git config --system core.longpaths true", + }, # The "x64-windows-static-md" triple is what the Rust openssl # crate expects on Windows when it goes looking for the vcpkg # install.