Skip to content

Commit

Permalink
fix cached restore of registry folders
Browse files Browse the repository at this point in the history
  • Loading branch information
miraclx committed May 2, 2023
1 parent 2205a95 commit f911a16
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
ls docker-cache-build-target
du -sh docker-cache-build-target
mv docker-cache-build-target docker-cache/usr/src/app/target
rsync -avh --ignore-missing-args \
~/.cargo/{bin,git,.crates.toml,.crates2.json,registry/{cache,index}} \
docker-cache/usr/local/cargo
rsync -avh --ignore-missing-args ~/.cargo/{bin,git,.crates.toml,.crates2.json} docker-cache/usr/local/cargo
rsync -avh --ignore-missing-args ~/.cargo/registry/{cache,index} docker-cache/usr/local/cargo
tar -czC docker-cache -f docker-cache.tgz usr
tar tf docker-cache.tgz
echo "docker-cache.tgz:"
Expand Down

0 comments on commit f911a16

Please sign in to comment.