mirror of
https://gitea.com/actions/cache.git
synced 2024-11-23 04:42:28 +08:00
Set CARGO_INCREMENTAL to 0 in examples
This speeds up builds unless the target directory is also cached. Conveniently, the simple example which features such caching omits the build step.
This commit is contained in:
parent
8d9c7e9644
commit
15978f289c
|
@ -531,6 +531,8 @@ jobs:
|
|||
|
||||
- name: Build and test
|
||||
uses: actions-rs/cargo@v1
|
||||
env:
|
||||
CARGO_INCREMENTAL: 0
|
||||
with:
|
||||
command: test
|
||||
args: --locked
|
||||
|
@ -597,6 +599,8 @@ jobs:
|
|||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
CARGO_INCREMENTAL: 0
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user