Skip to content

Commit

Permalink
cp
Browse files Browse the repository at this point in the history
  • Loading branch information
ianoc committed Mar 1, 2020
1 parent ec8cfdc commit ab6c7ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ build --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
build --experimental_strict_action_env

build:github_actions --announce_rc
build:github_actions --disk_cache %workspace%/.bazel-cache/disk-cache
build:github_actions --repository_cache %workspace%/.bazel-cache/repo-cache


try-import %workspace%/user.bazelrc
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ jobs:
restore-keys: |
${{ runner.os }}-bazel-out-
- name: Configure bazel config for actions
run: echo "build --config github_actions" > user.bazelrc
run: |
echo "build --config github_actions" > user.bazelrc
echo "build --disk_cache ${{ github.workspace }}/.bazel-cache/disk-cache" >> user.bazelrc
echo "build --repository_cache ${{ github.workspace }}/.bazel-cache/repo-cache" >> user.bazelrc
- name: Ensure bazel on box
run: ./bazel
env:
Expand Down

0 comments on commit ab6c7ee

Please sign in to comment.