From c98fa45d057168c164d44f39cbaf39c7880d5147 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Mon, 16 Mar 2020 18:46:33 +0100 Subject: Fix cargo registry caching for builds --- .github/workflows/ci.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1602b6b9f..58c8f083a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -74,6 +74,9 @@ jobs: override: true components: rustfmt, rust-src + - if: matrix.os == 'ubuntu-latest' + run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/ + - name: Cache cargo registry uses: actions/cache@v1 with: -- cgit v1.2.3