Fix cargo registry caching for builds

This commit is contained in:
bjorn3 2020-03-16 18:46:33 +01:00 committed by GitHub
parent d3773ec152
commit c98fa45d05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,6 +74,9 @@ jobs:
override: true override: true
components: rustfmt, rust-src components: rustfmt, rust-src
- if: matrix.os == 'ubuntu-latest'
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v1 uses: actions/cache@v1
with: with: