Parcourir la source

Fix windows CI by removing virtual file system cache (#3912)

* try to fix windows CI

* just remove the vfs logic
Evan Almloff il y a 2 mois
Parent
commit
44025340c7
2 fichiers modifiés avec 2 ajouts et 9 suppressions
  1. 0 8
      .github/workflows/main.yml
  2. 2 1
      .github/workflows/setup-dev-drive.ps1

+ 0 - 8
.github/workflows/main.yml

@@ -302,14 +302,6 @@ jobs:
     name: "cargo test | windows"
     steps:
       - uses: actions/checkout@v4
-      - name: Create Dev Drive using ReFS
-        run: ${{ github.workspace }}/.github/workflows/setup-dev-drive.ps1
-
-      # actions/checkout does not let us clone into anywhere outside ${{ github.workspace }}, so we have to copy the clone...
-      - name: Copy Git Repo to Dev Drive
-        run: |
-          Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.UV_WORKSPACE }}" -Recurse
-
       - uses: dtolnay/rust-toolchain@1.84.0
         with:
           components: rustfmt, clippy

+ 2 - 1
.github/workflows/setup-dev-drive.ps1

@@ -22,4 +22,5 @@ Write-Output `
 	"RUSTUP_HOME=$($Drive)/.rustup" `
 	"CARGO_HOME=$($Drive)/.cargo" `
 	"UV_WORKSPACE=$($Drive)/uv" `
-	>> $env:GITHUB_ENV
+	"PATH=$($Drive)/.cargo/bin;$env:PATH" `
+	>> $env:GITHUB_ENV