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
|
||||
if: matrix.test.name == 'Examples'
|
||||
uses: Swatinem/rust-cache@v1
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
working-directory: "examples"
|
||||
workspaces: examples
|
||||
key: ${{ matrix.test.name }}
|
||||
|
||||
- name: Cache Root Workspace
|
||||
if: matrix.test.name != 'Examples'
|
||||
uses: Swatinem/rust-cache@v1
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
key: ${{ matrix.test.name }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue