mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-31 17:28:12 +00:00
fix cargo cache
This commit is contained in:
@@ -59,14 +59,6 @@ jobs:
|
|||||||
chmod +x /usr/local/bin/flatc
|
chmod +x /usr/local/bin/flatc
|
||||||
rm -rf Linux.flatc.binary.g++-13.zip
|
rm -rf Linux.flatc.binary.g++-13.zip
|
||||||
|
|
||||||
- name: cache cargo
|
|
||||||
uses: actions/cache@v3
|
|
||||||
env:
|
|
||||||
cache-name: cache-cargo
|
|
||||||
with:
|
|
||||||
path: ~/.cargo
|
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-v0.0.1
|
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
@@ -83,3 +75,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: -p e2e_test --lib
|
args: -p e2e_test --lib
|
||||||
|
|
||||||
|
- name: cache cargo
|
||||||
|
uses: actions/cache@v3
|
||||||
|
env:
|
||||||
|
cache-name: cache-cargo
|
||||||
|
with:
|
||||||
|
path: ~/.cargo
|
||||||
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-v0.0.1
|
||||||
|
|||||||
@@ -59,14 +59,6 @@ jobs:
|
|||||||
chmod +x /usr/local/bin/flatc
|
chmod +x /usr/local/bin/flatc
|
||||||
rm -rf Linux.flatc.binary.g++-13.zip
|
rm -rf Linux.flatc.binary.g++-13.zip
|
||||||
|
|
||||||
- name: cache cargo
|
|
||||||
uses: actions/cache@v3
|
|
||||||
env:
|
|
||||||
cache-name: cache-cargo
|
|
||||||
with:
|
|
||||||
path: ~/.cargo
|
|
||||||
key: ${{ runner.os }}-build-${{ env.cache-name }}-v0.0.1
|
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
@@ -86,3 +78,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
args: --all --exclude e2e_test
|
args: --all --exclude e2e_test
|
||||||
|
|
||||||
|
- name: cache cargo
|
||||||
|
uses: actions/cache@v3
|
||||||
|
env:
|
||||||
|
cache-name: cache-cargo
|
||||||
|
with:
|
||||||
|
path: ~/.cargo
|
||||||
|
key: ${{ runner.os }}-build-${{ env.cache-name }}-v0.0.1
|
||||||
|
|||||||
Reference in New Issue
Block a user