Skip to content

Commit fe0e2ae

Browse files
committed
[gh actions] Really fix caching this time
1 parent 5d516f9 commit fe0e2ae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
- uses: actions/checkout@v2
1818

1919
# https://github.com/actions/cache/issues/133
20-
- name: Fixup owner of ~/.cargo/bin
21-
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo
20+
- name: Fixup owner of ~/.cargo/
21+
# Don't remove the trailing /. It is necessary to follow the symlink.
22+
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
2223

2324
- name: Cache cargo installed crates
2425
uses: actions/[email protected]

0 commit comments

Comments
 (0)