[gh actions] Really fix caching this time
This commit is contained in:
parent
5d516f9e11
commit
fe0e2ae66d
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -17,8 +17,9 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
# https://github.com/actions/cache/issues/133
|
||||
- name: Fixup owner of ~/.cargo/bin
|
||||
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo
|
||||
- name: Fixup owner of ~/.cargo/
|
||||
# Don't remove the trailing /. It is necessary to follow the symlink.
|
||||
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
||||
|
||||
- name: Cache cargo installed crates
|
||||
uses: actions/cache@v1.1.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user