mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
Fix cargo registry caching for builds
This commit is contained in:
parent
d3773ec152
commit
c98fa45d05
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
@ -74,6 +74,9 @@ jobs:
|
||||
override: true
|
||||
components: rustfmt, rust-src
|
||||
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
||||
|
||||
- name: Cache cargo registry
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user