Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching warning when caching is used on windows, but no cache exists #59

Open
IanButterworth opened this issue Nov 23, 2024 · 1 comment

Comments

@IanButterworth
Copy link
Member

See https://github.com/JuliaWeb/HTTP.jl/actions/runs/11984291113/job/33414881625#step:5:51

I guess if no cache is restored we're not making the depot properly or not detecting it existing properly.

@IanButterworth
Copy link
Member Author

Run mkdir -p C:\Users\runneradmin/.julia
  mkdir -p C:\Users\runneradmin/.julia
  du -shc C:\Users\runneradmin/.julia/* || true
  shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}
du: cannot access 'C:Usersrunneradmin/.julia/*': No such file or directory
0	total
Run if [ -d "C:\Users\runneradmin/.julia/registries" ] && [ -n "$(ls -A "C:\Users\runneradmin/.julia/registries")" ]; then
  if [ -d "C:\Users\runneradmin/.julia/registries" ] && [ -n "$(ls -A "C:\Users\runneradmin/.julia/registries")" ]; then
    echo "Registries directory exists and is non-empty. Updating any registries"
    julia -e "import Pkg; isdefined(Pkg, :Registry) && Pkg.Registry.update();"
  else
    echo "Registries directory does not exist or is empty. Skipping registry update"
  fi
  shell: C:\Program Files\Git\bin\bash.EXE --noprofile --norc -e -o pipefail {0}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant