[gh actions] Fix caching of ~/.cargo/bin
This commit is contained in:
parent
133b05b3a4
commit
2e5661dae6
1 changed files with 4 additions and 0 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -16,6 +16,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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/bin
|
||||||
|
|
||||||
- name: Cache cargo installed crates
|
- name: Cache cargo installed crates
|
||||||
uses: actions/cache@v1.1.2
|
uses: actions/cache@v1.1.2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue