mirror of
https://github.com/actions/cache.git
synced 2024-11-14 01:51:46 +01: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
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue