Skip to content

Commit

Permalink
Release 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed Mar 1, 2024
1 parent 2eb83dc commit 527d41d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 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: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
Expand Down Expand Up @@ -39,15 +39,15 @@ Default `""`.
#### Install Bazelisk 1.x

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
bazelisk-version: 1.x
```

#### Install exact Bazelisk version

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
bazelisk-version: 1.19.0
```
Expand All @@ -67,15 +67,15 @@ Default `""`.
#### Enable Bzlmod

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
bazelrc: common --enable_bzlmod
```

#### Add colors and timestamps

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
bazelrc: |
build --color=yes
Expand All @@ -97,15 +97,15 @@ Default `false`.
#### Share a single disk cache

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
disk-cache: true
```

#### Separate disk caches between workflows

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
disk-cache: ${{ github.workflow }}}
```
Expand All @@ -129,15 +129,15 @@ Default `false`.
#### Enable external repositories caches

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
external-cache: true
```

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

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
external-cache: |
manifest:
Expand All @@ -147,7 +147,7 @@ Default `false`.
#### Do not cache Ruby on Windows

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
external-cache: |
manifest:
Expand All @@ -167,7 +167,7 @@ Default `""`.
#### Authenticate via key

```yaml
- uses: p0deje/[email protected].0
- uses: p0deje/[email protected].1
with:
google-credentials: ${{ secrets.GOOGLE_CLOUD_KEY }}
```
Expand Down Expand Up @@ -203,4 +203,4 @@ $ npm run build
[6]: https://github.com/bazelbuild/setup-bazelisk
[7]: https://github.com/bazelbuild/bazelisk/blob/master/README.md#how-does-bazelisk-know-which-bazel-version-to-run
[8]: https://github.com/actions/runner-images/pull/490
[9]: https://bazel.build/reference/command-line-reference#flag--google_credentials
[9]: https://bazel.build/reference/command-line-reference#flag--google_credentials
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "setup-bazel",
"version": "0.7.0",
"version": "0.7.1",
"description": "Install and configure Bazel for GitHub Actions",
"main": "index.js",
"engines": {
Expand All @@ -21,4 +21,4 @@
"@vercel/ncc": "^0.36.0",
"yaml": "^2.2.1"
}
}
}

0 comments on commit 527d41d

Please sign in to comment.