mirror of https://github.com/rwf2/Rocket.git
Update 'rust-cache' GitHub action to v2.
This commit is contained in:
parent
a34edc4de9
commit
cbe4dcb4b5
|
@ -68,13 +68,14 @@ jobs:
|
||||||
|
|
||||||
- name: Cache Example Workspace
|
- name: Cache Example Workspace
|
||||||
if: matrix.test.name == 'Examples'
|
if: matrix.test.name == 'Examples'
|
||||||
uses: Swatinem/rust-cache@v1
|
uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
working-directory: "examples"
|
workspaces: examples
|
||||||
|
key: ${{ matrix.test.name }}
|
||||||
|
|
||||||
- name: Cache Root Workspace
|
- name: Cache Root Workspace
|
||||||
if: matrix.test.name != 'Examples'
|
if: matrix.test.name != 'Examples'
|
||||||
uses: Swatinem/rust-cache@v1
|
uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
key: ${{ matrix.test.name }}
|
key: ${{ matrix.test.name }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue