Просмотр исходного кода

Update Bazel configuration in action.yml

Comment out disk cache configuration and add sandbox writable path.
jimsterino98 4 месяцев назад
Родитель
Сommit
755e67ef8b
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      .github/actions/use-bazcache/action.yml

+ 4 - 4
.github/actions/use-bazcache/action.yml

@@ -12,13 +12,13 @@ runs:
       cd kernel_platform
       touch .bazelrc
       cat >> .bazelrc << 'EOF'
-      build --disk_cache=${{ env.BCACHE_DIR }}
-      build --profile=profile.json
+      #build --disk_cache=${{ env.BCACHE_DIR }}
+      build --sandbox_writable_path=${{ env.CCACHE_DIR }}
       EOF
       else
       touch .bazelrc
       cat >> .bazelrc << 'EOF'
-      build --disk_cache=${{ env.BCACHE_DIR }}
-      build --profile=profile.json
+      #build --disk_cache=${{ env.BCACHE_DIR }}
+      build --sandbox_writable_path=${{ env.CCACHE_DIR }}
       EOF
       fi