You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup Bazelisk
v1.0.0
Set up your GitHub Actions workflow with a specific version of Baelisk
This action sets up Bazelisk for use in actions by:
- optionally downloading and caching a version of Bazelisk by version and adding to PATH
- setting up cache for downloaded Bazel versions
See action.yml
Basic:
steps:
- uses: actions/checkout@master
- uses: mishas/setup-bazelisk@v1
with:
bazelisk-version: '1.x'
- name: Mount bazel cache # Optional
uses: actions/cache@v1
with:
path: "~/.cache/bazel"
key: bazel
- run: bazel build //...
The scripts and documentation in this project are released under the MIT License