Skip to content

Commit

Permalink
[gh actions] Really fix caching this time
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Mar 14, 2020
1 parent 5d516f9 commit fe0e2ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down

0 comments on commit fe0e2ae

Please sign in to comment.