-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
33 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.2.0 | ||
7.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: 'Run Bazel Command' | ||
description: 'Ensures bazelisk, mounts Bazel Cache from artifacts and runs Bazel command' | ||
description: 'Runs bazel command with setup-bazel' | ||
inputs: | ||
bazel-config: | ||
description: 'The bazel configuration to use.' | ||
|
@@ -17,19 +17,19 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Bazelisk | ||
uses: bazelbuild/setup-bazelisk@v2 | ||
- name: Install JDK 11 | ||
uses: actions/setup-java@v3 | ||
- name: Install JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "zulu" | ||
java-version: "11" | ||
|
||
- name: Mount bazel cache | ||
uses: actions/cache@v3 | ||
java-version: "17" | ||
- name: Setup Bazel | ||
uses: bazel-contrib/[email protected] | ||
with: | ||
path: "bazel-cache" | ||
key: ${{ inputs.cache-key }} | ||
bazelisk-cache: true | ||
# Store build cache per workflow. | ||
disk-cache: ${{ inputs.cache-key }}-${{ github.workflow }} | ||
# Share repository cache between workflows. | ||
repository-cache: true | ||
|
||
- name: Run bazel command | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters