revert actions/cache to version 1.1.2 (#80)

This commit is contained in:
Denis Granha 2020-10-23 22:59:18 +02:00 committed by GitHub
parent d811f6e3ce
commit bf5830f766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,35 +33,35 @@ jobs:
profile: minimal profile: minimal
override: true override: true
- name: Cache cargo registry - name: Cache cargo registry
uses: actions/cache@v2 uses: actions/cache@v1.1.2
with: with:
path: ~/.cargo/registry path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-build-tests-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-registry-build-tests-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index - name: Cache cargo index
uses: actions/cache@v2 uses: actions/cache@v1.1.2
with: with:
path: ~/.cargo/git path: ~/.cargo/git
key: ${{ runner.os }}-cargo-git-build-tests-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-git-build-tests-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build - name: Cache cargo build
uses: actions/cache@v2 uses: actions/cache@v1.1.2
with: with:
path: target path: target
key: ${{ runner.os }}-cargo-build-target-build-tests-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-build-target-build-tests-${{ hashFiles('**/Cargo.lock') }}
- name: Cache sccache linux - name: Cache sccache linux
if: matrix.platform == 'ubuntu-16.04' if: matrix.platform == 'ubuntu-16.04'
uses: actions/cache@v2 uses: actions/cache@v1.1.2
with: with:
path: "/home/runner/.cache/sccache" path: "/home/runner/.cache/sccache"
key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }}
- name: Cache sccache MacOS - name: Cache sccache MacOS
if: matrix.platform == 'macos-latest' if: matrix.platform == 'macos-latest'
uses: actions/cache@v2 uses: actions/cache@v1.1.2
with: with:
path: "/Users/runner/Library/Caches/Mozilla.sccache" path: "/Users/runner/Library/Caches/Mozilla.sccache"
key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }}
- name: Cache sccache Windows - name: Cache sccache Windows
if: matrix.platform == 'windows-latest' if: matrix.platform == 'windows-latest'
uses: actions/cache@v2 uses: actions/cache@v1.1.2
with: with:
path: "C:\\Users\\runneradmin\\AppData\\Local\\Mozilla\\sccache\\cache" path: "C:\\Users\\runneradmin\\AppData\\Local\\Mozilla\\sccache\\cache"
key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }}