diff --git a/.github/workflows/cli-release.yaml b/.github/workflows/cli-release.yaml index 6a30afa4960703..0c0495af681f82 100644 --- a/.github/workflows/cli-release.yaml +++ b/.github/workflows/cli-release.yaml @@ -60,6 +60,10 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.source_git_ref_override }} + # Ensure that long paths work + - name: Ensure long paths work + run: git config core.longpaths true + shell: bash - name: Build CLI run: scripts\cli\build_cli_release.ps1 - name: Upload Binary diff --git a/.github/workflows/windows-build.yaml b/.github/workflows/windows-build.yaml index 43cdc00fc8ed3a..f13c64bd7056e3 100644 --- a/.github/workflows/windows-build.yaml +++ b/.github/workflows/windows-build.yaml @@ -4,8 +4,8 @@ name: "Windows CLI Build" on: workflow_dispatch: pull_request: - types: [labeled, opened, synchronize, reopened, auto_merge_enabled] - schedule: + types: [ labeled, opened, synchronize, reopened, auto_merge_enabled ] + schedule: # Run twice a day at 12PM PT and 8PM PT Monday through Friday - cron: "0 19,3 * * 1-5" # Run once a day at 12PM PT on Saturday and Sunday @@ -32,6 +32,11 @@ jobs: - name: Set up WinGet run: Set-Variable ProgressPreference SilentlyContinue ; PowerShell -ExecutionPolicy Bypass -File scripts/windows_dev_setup.ps1 + # Ensure that long paths work + - name: Ensure long paths work + run: git config core.longpaths true + shell: bash + # This action will cache ~/.cargo and ./target (or the equivalent on Windows in # this case). See more here: # https://github.com/Swatinem/rust-cache#cache-details