Release 0.17.0
This commit is contained in:
parent
b26a6f0e11
commit
00e306f4a9
7 changed files with 3978 additions and 1159 deletions
30
README.md
30
README.md
|
|
@ -6,7 +6,7 @@ and provides an advanced fine-grained caching to improve workflows performance.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.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: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.0
|
||||||
with:
|
with:
|
||||||
external-cache: |
|
external-cache: |
|
||||||
manifest:
|
manifest:
|
||||||
|
|
@ -167,7 +167,7 @@ Default `""`.
|
||||||
#### Authenticate via key
|
#### Authenticate via key
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.0
|
||||||
with:
|
with:
|
||||||
google-credentials: ${{ secrets.GOOGLE_CLOUD_KEY }}
|
google-credentials: ${{ secrets.GOOGLE_CLOUD_KEY }}
|
||||||
```
|
```
|
||||||
|
|
@ -198,7 +198,7 @@ Default is one of the following:
|
||||||
#### Use `C` drive letter
|
#### Use `C` drive letter
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.0
|
||||||
with:
|
with:
|
||||||
output-base: C:/_bazel
|
output-base: C:/_bazel
|
||||||
```
|
```
|
||||||
|
|
@ -218,7 +218,7 @@ Default `false`.
|
||||||
#### Store a single repository cache
|
#### Store a single repository cache
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.0
|
||||||
with:
|
with:
|
||||||
repository-cache: true
|
repository-cache: true
|
||||||
```
|
```
|
||||||
|
|
@ -226,14 +226,14 @@ Default `false`.
|
||||||
#### Store a repository cache from a custom location
|
#### Store a repository cache from a custom location
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- uses: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.0
|
||||||
with:
|
with:
|
||||||
repository-cache: examples/gem/WORKSPACE
|
repository-cache: examples/gem/WORKSPACE
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Store a repository cache from a list of custom locations
|
#### Store a repository cache from a list of custom locations
|
||||||
```yaml
|
```yaml
|
||||||
- uses: bazel-contrib/setup-bazel@0.16.0
|
- uses: bazel-contrib/setup-bazel@0.17.0
|
||||||
with:
|
with:
|
||||||
repository-cache: |
|
repository-cache: |
|
||||||
- MODULE.bazel
|
- MODULE.bazel
|
||||||
|
|
|
||||||
4154
dist/main/index.js
vendored
4154
dist/main/index.js
vendored
File diff suppressed because it is too large
Load diff
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
943
dist/post/index.js
vendored
943
dist/post/index.js
vendored
File diff suppressed because it is too large
Load diff
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "setup-bazel",
|
"name": "setup-bazel",
|
||||||
"version": "0.16.0",
|
"version": "0.17.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "setup-bazel",
|
"name": "setup-bazel",
|
||||||
"version": "0.16.0",
|
"version": "0.17.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "^5.0.0",
|
"@actions/cache": "^5.0.0",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "setup-bazel",
|
"name": "setup-bazel",
|
||||||
"version": "0.16.0",
|
"version": "0.17.0",
|
||||||
"description": "Install and configure Bazel for GitHub Actions",
|
"description": "Install and configure Bazel for GitHub Actions",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue