diff options
author | Aleksey Kladov <[email protected]> | 2020-03-17 10:14:25 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-17 10:14:25 +0000 |
commit | 96f19c3af9353692963f89a8cd9e1783e787f57c (patch) | |
tree | cd7cefb2fe55c490bbcdaeb6635349e3a51a1a14 | |
parent | 6aa432d86b7e4fb691600032ebdf6f2301152447 (diff) | |
parent | c98fa45d057168c164d44f39cbaf39c7880d5147 (diff) |
Merge pull request #3613 from bjorn3/patch-1
Fix cargo registry caching for builds
-rw-r--r-- | .github/workflows/ci.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
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: | |||
74 | override: true | 74 | override: true |
75 | components: rustfmt, rust-src | 75 | components: rustfmt, rust-src |
76 | 76 | ||
77 | - if: matrix.os == 'ubuntu-latest' | ||
78 | run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/ | ||
79 | |||
77 | - name: Cache cargo registry | 80 | - name: Cache cargo registry |
78 | uses: actions/cache@v1 | 81 | uses: actions/cache@v1 |
79 | with: | 82 | with: |