Skip to content

Commit

Permalink
Release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 23, 2024
1 parent e49447a commit 90b3523
Show file tree
Hide file tree
Showing 9 changed files with 3,194 additions and 3,202 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ and provides an advanced fine-grained caching to improve workflows performance.
## Usage

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
Expand Down Expand Up @@ -39,15 +39,15 @@ Default `""`.
#### Install Bazelisk 1.x

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-version: 1.x
```

#### Install exact Bazelisk version

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelisk-version: 1.19.0
```
Expand All @@ -67,15 +67,15 @@ Default `""`.
#### Enable Bzlmod

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelrc: common --enable_bzlmod
```

#### Add colors and timestamps

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
bazelrc: |
build --color=yes
Expand All @@ -97,15 +97,15 @@ Default `false`.
#### Share a single disk cache

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
disk-cache: true
```

#### Separate disk caches between workflows

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
disk-cache: ${{ github.workflow }}}
```
Expand All @@ -129,15 +129,15 @@ Default `false`.
#### Enable external repositories caches

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
external-cache: true
```

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

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
external-cache: |
manifest:
Expand All @@ -147,7 +147,7 @@ Default `false`.
#### Do not cache Ruby on Windows

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
external-cache: |
manifest:
Expand All @@ -167,7 +167,7 @@ Default `""`.
#### Authenticate via key

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
google-credentials: ${{ secrets.GOOGLE_CLOUD_KEY }}
```
Expand All @@ -188,15 +188,15 @@ Default `false`.
#### Store a single repository cache

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
repository-cache: true
```

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

```yaml
- uses: bazel-contrib/setup-bazel@0.8.5
- uses: bazel-contrib/setup-bazel@0.9.0
with:
repository-cache: examples/gem/WORKSPACE
```
Expand Down
Loading

0 comments on commit 90b3523

Please sign in to comment.