|
@@ -42,6 +42,9 @@ on:
|
|
|
type: boolean
|
|
|
default: false
|
|
|
description: "Use cache for tests"
|
|
|
+ put_build_results_to_cache:
|
|
|
+ type: boolean
|
|
|
+ default: true
|
|
|
|
|
|
jobs:
|
|
|
main:
|
|
@@ -73,9 +76,9 @@ jobs:
|
|
|
with:
|
|
|
build_target: ${{ inputs.build_target }}
|
|
|
build_preset: ${{ inputs.build_preset }}
|
|
|
- bazel_remote_uri: ${{ vars.REMOTE_CACHE_URL_YA || '' }}
|
|
|
- bazel_remote_username: ${{ secrets.REMOTE_CACHE_USERNAME }}
|
|
|
- bazel_remote_password: ${{ secrets.REMOTE_CACHE_PASSWORD }}
|
|
|
+ bazel_remote_uri: ${{ inputs.put_build_results_to_cache && vars.REMOTE_CACHE_URL_YA || '' }}
|
|
|
+ bazel_remote_username: ${{ inputs.put_build_results_to_cache && secrets.REMOTE_CACHE_USERNAME || '' }}
|
|
|
+ bazel_remote_password: ${{ inputs.put_build_results_to_cache && secrets.REMOTE_CACHE_PASSWORD || '' }}
|
|
|
link_threads: ${{ inputs.link_threads }}
|
|
|
|
|
|
- name: Run tests
|