Skip to content

Commit 663f88d

Browse files
author
github-actions
committed
Release 0.13.0
1 parent bc949b7 commit 663f88d

File tree

7 files changed

+60
-136
lines changed

7 files changed

+60
-136
lines changed

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ and provides an advanced fine-grained caching to improve workflows performance.
66
## Usage
77

88
```yaml
9-
- uses: bazel-contrib/setup-bazel@0.12.1
9+
- uses: bazel-contrib/setup-bazel@0.13.0
1010
with:
1111
# Avoid downloading Bazel every time.
1212
bazelisk-cache: true
@@ -39,15 +39,15 @@ Default `""`.
3939
#### Install Bazelisk 1.x
4040

4141
```yaml
42-
- uses: bazel-contrib/setup-bazel@0.12.1
42+
- uses: bazel-contrib/setup-bazel@0.13.0
4343
with:
4444
bazelisk-version: 1.x
4545
```
4646

4747
#### Install exact Bazelisk version
4848

4949
```yaml
50-
- uses: bazel-contrib/setup-bazel@0.12.1
50+
- uses: bazel-contrib/setup-bazel@0.13.0
5151
with:
5252
bazelisk-version: 1.19.0
5353
```
@@ -67,15 +67,15 @@ Default `""`.
6767
#### Enable Bzlmod
6868

6969
```yaml
70-
- uses: bazel-contrib/setup-bazel@0.12.1
70+
- uses: bazel-contrib/setup-bazel@0.13.0
7171
with:
7272
bazelrc: common --enable_bzlmod
7373
```
7474

7575
#### Add colors and timestamps
7676

7777
```yaml
78-
- uses: bazel-contrib/setup-bazel@0.12.1
78+
- uses: bazel-contrib/setup-bazel@0.13.0
7979
with:
8080
bazelrc: |
8181
build --color=yes
@@ -97,15 +97,15 @@ Default `false`.
9797
#### Share a single disk cache
9898

9999
```yaml
100-
- uses: bazel-contrib/setup-bazel@0.12.1
100+
- uses: bazel-contrib/setup-bazel@0.13.0
101101
with:
102102
disk-cache: true
103103
```
104104

105105
#### Separate disk caches between workflows
106106

107107
```yaml
108-
- uses: bazel-contrib/setup-bazel@0.12.1
108+
- uses: bazel-contrib/setup-bazel@0.13.0
109109
with:
110110
disk-cache: ${{ github.workflow }}}
111111
```
@@ -129,15 +129,15 @@ Default `false`.
129129
#### Enable external repositories caches
130130

131131
```yaml
132-
- uses: bazel-contrib/setup-bazel@0.12.1
132+
- uses: bazel-contrib/setup-bazel@0.13.0
133133
with:
134134
external-cache: true
135135
```
136136

137137
#### Cache NPM repositories based on `package-lock.json` contents
138138

139139
```yaml
140-
- uses: bazel-contrib/setup-bazel@0.12.1
140+
- uses: bazel-contrib/setup-bazel@0.13.0
141141
with:
142142
external-cache: |
143143
manifest:
@@ -147,7 +147,7 @@ Default `false`.
147147
#### Do not cache Ruby on Windows
148148

149149
```yaml
150-
- uses: bazel-contrib/setup-bazel@0.12.1
150+
- uses: bazel-contrib/setup-bazel@0.13.0
151151
with:
152152
external-cache: |
153153
manifest:
@@ -167,7 +167,7 @@ Default `""`.
167167
#### Authenticate via key
168168

169169
```yaml
170-
- uses: bazel-contrib/setup-bazel@0.12.1
170+
- uses: bazel-contrib/setup-bazel@0.13.0
171171
with:
172172
google-credentials: ${{ secrets.GOOGLE_CLOUD_KEY }}
173173
```
@@ -190,7 +190,7 @@ Default is one of the following:
190190
#### Use `C` drive letter
191191

192192
```yaml
193-
- uses: bazel-contrib/setup-bazel@0.12.1
193+
- uses: bazel-contrib/setup-bazel@0.13.0
194194
with:
195195
output-base: C:/_bazel
196196
```
@@ -210,15 +210,15 @@ Default `false`.
210210
#### Store a single repository cache
211211

212212
```yaml
213-
- uses: bazel-contrib/setup-bazel@0.12.1
213+
- uses: bazel-contrib/setup-bazel@0.13.0
214214
with:
215215
repository-cache: true
216216
```
217217

218218
#### Store a repository cache from a custom location
219219

220220
```yaml
221-
- uses: bazel-contrib/setup-bazel@0.12.1
221+
- uses: bazel-contrib/setup-bazel@0.13.0
222222
with:
223223
repository-cache: examples/gem/WORKSPACE
224224
```

0 commit comments

Comments
 (0)