-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
github-actions
committed
May 20, 2024
1 parent
c4b6956
commit f92f433
Showing
3 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ and provides an advanced fine-grained caching to improve workflows performance. | |
## Usage | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
# Avoid downloading Bazel every time. | ||
bazelisk-cache: true | ||
|
@@ -39,15 +39,15 @@ Default `""`. | |
#### Install Bazelisk 1.x | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
bazelisk-version: 1.x | ||
``` | ||
|
||
#### Install exact Bazelisk version | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
bazelisk-version: 1.19.0 | ||
``` | ||
|
@@ -67,15 +67,15 @@ Default `""`. | |
#### Enable Bzlmod | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
bazelrc: common --enable_bzlmod | ||
``` | ||
|
||
#### Add colors and timestamps | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
bazelrc: | | ||
build --color=yes | ||
|
@@ -97,15 +97,15 @@ Default `false`. | |
#### Share a single disk cache | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
disk-cache: true | ||
``` | ||
|
||
#### Separate disk caches between workflows | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
disk-cache: ${{ github.workflow }}} | ||
``` | ||
|
@@ -129,15 +129,15 @@ Default `false`. | |
#### Enable external repositories caches | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
external-cache: true | ||
``` | ||
|
||
#### Cache NPM repositories based on `package-lock.json` contents | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
external-cache: | | ||
manifest: | ||
|
@@ -147,7 +147,7 @@ Default `false`. | |
#### Do not cache Ruby on Windows | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
external-cache: | | ||
manifest: | ||
|
@@ -167,7 +167,7 @@ Default `""`. | |
#### Authenticate via key | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
google-credentials: ${{ secrets.GOOGLE_CLOUD_KEY }} | ||
``` | ||
|
@@ -188,15 +188,15 @@ Default `false`. | |
#### Store a single repository cache | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
repository-cache: true | ||
``` | ||
|
||
#### Store a repository cache from a custom location | ||
|
||
```yaml | ||
- uses: bazel-contrib/[email protected].3 | ||
- uses: bazel-contrib/[email protected].4 | ||
with: | ||
repository-cache: examples/gem/WORKSPACE | ||
``` | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters