Release 0.8.0

This commit is contained in:
Alex Rodionov 2024-03-05 15:51:47 -08:00
parent 5058960dd0
commit abf706cba9
2 changed files with 14 additions and 14 deletions

View file

@ -6,7 +6,7 @@ and provides an advanced fine-grained caching to improve workflows performance.
## Usage ## Usage
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
# Avoid downloading Bazel every time. # Avoid downloading Bazel every time.
bazelisk-cache: true bazelisk-cache: true
@ -39,7 +39,7 @@ Default `""`.
#### Install Bazelisk 1.x #### Install Bazelisk 1.x
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
bazelisk-version: 1.x bazelisk-version: 1.x
``` ```
@ -47,7 +47,7 @@ Default `""`.
#### Install exact Bazelisk version #### Install exact Bazelisk version
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
bazelisk-version: 1.19.0 bazelisk-version: 1.19.0
``` ```
@ -67,7 +67,7 @@ Default `""`.
#### Enable Bzlmod #### Enable Bzlmod
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
bazelrc: common --enable_bzlmod bazelrc: common --enable_bzlmod
``` ```
@ -75,7 +75,7 @@ Default `""`.
#### Add colors and timestamps #### Add colors and timestamps
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
bazelrc: | bazelrc: |
build --color=yes build --color=yes
@ -97,7 +97,7 @@ Default `false`.
#### Share a single disk cache #### Share a single disk cache
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
disk-cache: true disk-cache: true
``` ```
@ -105,7 +105,7 @@ Default `false`.
#### Separate disk caches between workflows #### Separate disk caches between workflows
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
disk-cache: ${{ github.workflow }}} disk-cache: ${{ github.workflow }}}
``` ```
@ -129,7 +129,7 @@ Default `false`.
#### Enable external repositories caches #### Enable external repositories caches
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
external-cache: true external-cache: true
``` ```
@ -137,7 +137,7 @@ Default `false`.
#### Cache NPM repositories based on `package-lock.json` contents #### Cache NPM repositories based on `package-lock.json` contents
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
external-cache: | external-cache: |
manifest: manifest:
@ -147,7 +147,7 @@ Default `false`.
#### Do not cache Ruby on Windows #### Do not cache Ruby on Windows
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
external-cache: | external-cache: |
manifest: manifest:
@ -167,7 +167,7 @@ Default `""`.
#### Authenticate via key #### Authenticate via key
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
google-credentials: ${{ secrets.GOOGLE_CLOUD_KEY }} google-credentials: ${{ secrets.GOOGLE_CLOUD_KEY }}
``` ```
@ -188,7 +188,7 @@ Default `false`.
#### Store a single repository cache #### Store a single repository cache
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
repository-cache: true repository-cache: true
``` ```
@ -196,7 +196,7 @@ Default `false`.
#### Store a repository cache from a custom location #### Store a repository cache from a custom location
```yaml ```yaml
- uses: p0deje/setup-bazel@0.7.1 - uses: p0deje/setup-bazel@0.8.0
with: with:
repository-cache: examples/gem/WORKSPACE repository-cache: examples/gem/WORKSPACE
``` ```

View file

@ -1,6 +1,6 @@
{ {
"name": "setup-bazel", "name": "setup-bazel",
"version": "0.7.1", "version": "0.8.9",
"description": "Install and configure Bazel for GitHub Actions", "description": "Install and configure Bazel for GitHub Actions",
"main": "index.js", "main": "index.js",
"engines": { "engines": {