We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0761d7 commit 01c4b28Copy full SHA for 01c4b28
README.md
@@ -83,6 +83,32 @@ Default `""`.
83
```
84
</details>
85
86
+### `cache-prefix`
87
+
88
+Specify a prefix used for all caches.
89
90
+Default `${{ github.job }}-${{ runner.os }}`
91
92
+<details>
93
+ <summary>Examples</summary>
94
95
+ #### Using a job matrix
96
97
+ ```yaml
98
+ my-job:
99
+ strategy:
100
+ matrix:
101
+ os: [ubuntu-22.04, ubuntu-24.04]
102
+ mode: [dbg, opt]
103
+ runs-on: ${{ matrix.os }}
104
+ steps:
105
+ - uses: actions/checkout@v4
106
+ - uses: bazel-contrib/[email protected]
107
+ with:
108
+ cache-prefix: ${{ matrix.job }}-${{ matrix.os }}-${{ matrix.mode }}
109
+ ```
110
+</details>
111
112
### `disk-cache`
113
114
Enable [`disk_cache`][2] and store it on GitHub.
0 commit comments