diff options
author | bjorn3 <[email protected]> | 2020-03-16 17:46:33 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-16 17:46:33 +0000 |
commit | c98fa45d057168c164d44f39cbaf39c7880d5147 (patch) | |
tree | 8da9aaab119e913e013863361c70887d758d8d88 | |
parent | d3773ec1522681de117d354f0c82e753c68c6d0b (diff) |
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: |