From b3ea60fd9cfd6bb7a023d012031045b301e11230 Mon Sep 17 00:00:00 2001 From: Cornelius Riemenschneider Date: Mon, 19 Feb 2024 16:37:36 +0100 Subject: [PATCH] Fix windows CI build. As we're now checking out the `codeql` repo in a sub-path, we need to enable long paths on Windows. --- .github/workflows/ruby-build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ruby-build.yml b/.github/workflows/ruby-build.yml index 0f529ac8bb94..7ef3f499f835 100644 --- a/.github/workflows/ruby-build.yml +++ b/.github/workflows/ruby-build.yml @@ -51,6 +51,11 @@ jobs: run: | brew install gnu-tar echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH + - name: Prepare Windows + if: runner.os == 'Windows' + shell: powershell + run: | + git config --global core.longpaths true - uses: ./.github/actions/os-version id: os_version - name: Cache entire extractor