forked from bazel-contrib/setup-bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (42 loc) · 1.21 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Setup Bazel environment
description: Setup a Bazel environment, including Bazelisk and fine-grained caching
inputs:
bazelisk-cache:
description: Caches Bazelisk downloads based on .bazelversion
required: false
default: "false"
bazelisk-version:
description: The Bazelisk version to download and use if necessary
default: ""
bazelrc:
description: Extra contents to write to user .bazelrc
required: false
default: ""
cache-version:
description: Version of all caches
required: false
default: "1"
disk-cache:
description: Cache actions outputs based on BUILD
required: false
default: "false"
external-cache:
description: Cache external 10MB+ repositories based on MODULE.bazel/WORKSPACE
required: false
default: ""
google-credentials:
description: Google Cloud account key for remote cache
required: false
default: ""
repository-cache:
description: Cache repositories based on MODULE.bazel/WORKSPACE
required: false
default: "false"
token:
description: GitHub token to query Bazelisk releases
required: false
default: ${{ github.token }}
runs:
using: node20
main: dist/main/index.js
post: dist/post/index.js