From d7e61b09c9c6b50be7c12149e00ac7b81063fff0 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Fri, 20 Aug 2021 18:59:18 +0800 Subject: [PATCH] Update GitHub ACtions --- .github/workflows/rust.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 20603225..d699b5fc 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -74,7 +74,7 @@ jobs: ~/.cargo/git Cargo.lock target - key: ${{ runner.os }}-${{ matrix.database }}-${{ matrix.runtime }}-${{ matrix.tls }} + key: ${{ github.sha }}-${{ github.run_id }}-${{ runner.os }}-${{ matrix.database }}-${{ matrix.runtime }}-${{ matrix.tls }} - uses: actions-rs/cargo@v1 with: @@ -109,7 +109,7 @@ jobs: ~/.cargo/git Cargo.lock target - key: ${{ runner.os }}-sqlite-${{ matrix.runtime }}-${{ matrix.tls }} + key: ${{ github.sha }}-${{ github.run_id }}-${{ runner.os }}-sqlite-${{ matrix.runtime }}-${{ matrix.tls }} - uses: actions-rs/cargo@v1 with: @@ -161,7 +161,7 @@ jobs: ~/.cargo/git Cargo.lock target - key: ${{ runner.os }}-mysql-${{ matrix.runtime }}-${{ matrix.tls }} + key: ${{ github.sha }}-${{ github.run_id }}-${{ runner.os }}-mysql-${{ matrix.runtime }}-${{ matrix.tls }} - uses: actions-rs/cargo@v1 with: @@ -213,7 +213,7 @@ jobs: ~/.cargo/git Cargo.lock target - key: ${{ runner.os }}-mysql-${{ matrix.runtime }}-${{ matrix.tls }} + key: ${{ github.sha }}-${{ github.run_id }}-${{ runner.os }}-mysql-${{ matrix.runtime }}-${{ matrix.tls }} - uses: actions-rs/cargo@v1 with: @@ -262,7 +262,7 @@ jobs: ~/.cargo/git Cargo.lock target - key: ${{ runner.os }}-postgres-${{ matrix.runtime }}-${{ matrix.tls }} + key: ${{ github.sha }}-${{ github.run_id }}-${{ runner.os }}-postgres-${{ matrix.runtime }}-${{ matrix.tls }} - uses: actions-rs/cargo@v1 with: