From fcc0a6a0dfbce4881b042ce67fdae7373d066c81 Mon Sep 17 00:00:00 2001 From: Alex Rodionov Date: Mon, 26 Feb 2024 10:57:57 -0800 Subject: [PATCH] Add how-to build instruction --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8baa610..a91ad2c 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Default `false`. ### `external-cache` -Cache `external/` repositories based on contents of a `WORKSPACE` file. +Cache `external/` repositories based on contents of `MODULE.bazel` and `WORKSPACE` files. Only repositories exceeding 10MB are being cached. Each repository is stored in a separate cache. @@ -176,7 +176,7 @@ Default `""`. ### `repository-cache` -Enable [`repository_cache`][3] and store it on GitHub based on contents of a `WORKSPACE` file. +Enable [`repository_cache`][3] and store it on GitHub based on contents of `MODULE.bazel` and `WORKSPACE` files. Default `false`. @@ -186,6 +186,14 @@ You can simply replace `bazelbuild/setup-bazelisk` action with `p0deje/setup-baz However, if you used a `bazel-version` input before, you will need to remove it in favor [other ways to specify Bazel version][7]. +## Development + +To build action, run the following command: + +```sh +$ npm run build +``` + [1]: https://github.com/bazelbuild/bazelisk [2]: https://bazel.build/remote/caching#disk-cache