Skip to content

Commit

Permalink
apacheGH-41964: [CI][C++] Clear cache for mamba on AppVeyor (apache#4…
Browse files Browse the repository at this point in the history
…1977)

### Rationale for this change

It seems that mamba may use invalid download URL when there are invalid caches.

### What changes are included in this PR?

Clear caches explicitly.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.

* GitHub Issue: apache#41964

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
  • Loading branch information
kou authored Jun 6, 2024
1 parent cea7323 commit 67c6df1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/appveyor-cpp-setup.bat
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ set CONDA_PACKAGES=%CONDA_PACKAGES% --file=ci\conda_env_cpp.txt
@rem Force conda to use conda-forge
conda config --add channels conda-forge
conda config --remove channels defaults
@rem Ensure using the latest information. If there are invalid caches,
@rem mamba may use invalid download URL.
mamba clean --all -y
@rem Arrow conda environment
mamba create -n arrow -y -c conda-forge ^
--file=ci\conda_env_python.txt ^
Expand Down

0 comments on commit 67c6df1

Please sign in to comment.