From fe0e2ae66dac3da90e5f2f51b2c1430f5c82e434 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sat, 14 Mar 2020 18:17:13 +0100 Subject: [PATCH] [gh actions] Really fix caching this time --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 43001a5caff..f7dce42e502 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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