Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from igilham/bazel-1.2
Browse files Browse the repository at this point in the history
add support for bazel 1.2.0
  • Loading branch information
ngalaiko authored Nov 20, 2019
2 parents 8a1da4e + d49d89f commit 34be67e
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- 0.29.0
- 1.0.0
- 1.1.0
- 1.2.0

steps:
- uses: actions/checkout@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- 0.29.0
- 1.0.0
- 1.1.0
- 1.2.0

steps:
- uses: actions/checkout@v1
Expand Down
1 change: 1 addition & 0 deletions 1.2.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
FROM ngalayko/bazel-action:1.2.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM openjdk:11

ARG BAZEL_VERSION=1.1.0
ARG BAZEL_VERSION=1.2.0

RUN apt-get update && apt-get install -y \
g++ \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@master

- name: run
uses: ngalaiko/bazel-action/1.1.0@master
uses: ngalaiko/bazel-action/1.2.0@master
with:
args: build //...
```
Expand All @@ -35,13 +35,13 @@ field. The following fields are supported:

## bazel version

In order to speed up builds, `ngalaiko/bazel-action/<version>@<tag>` uses prebuilt images with installed bazel
In order to speed up builds, `ngalaiko/bazel-action/<version>@<tag>` uses prebuilt images with installed bazel
and all dependencies. Images are stored in the [DockerHub](https://cloud.docker.com/u/ngalayko/repository/docker/ngalayko/bazel-action).

If you need a specific bazel version, you can import it by changeing `uses` import path. For example:

```yaml
uses: ngalaiko/bazel-action/1.1.0@master
uses: ngalaiko/bazel-action/1.2.0@master
```

or
Expand Down

0 comments on commit 34be67e

Please sign in to comment.