mirror of
https://github.com/actions/setup-java.git
synced 2026-08-19 20:22:50 +00:00
ci: constrain cache e2e job modes (#1244)
* ci: constrain cache e2e job modes * ci: constrain cache benchmark job modes
This commit is contained in:
@@ -24,6 +24,7 @@ jobs:
|
||||
warm-caches:
|
||||
name: Warm ${{ matrix.tool }} ${{ matrix.profile }} caches (${{ matrix.os }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
cache-mode: write-only
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -65,6 +66,7 @@ jobs:
|
||||
name: Benchmark ${{ matrix.tool }} ${{ matrix.profile }} (${{ matrix.os }})
|
||||
needs: warm-caches
|
||||
runs-on: ${{ matrix.os }}
|
||||
cache-mode: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
||||
Reference in New Issue
Block a user