Răsfoiți Sursa

Add profile configuration to Bazelrc generation

jimsterino98 4 luni în urmă
părinte
comite
0b788451d6
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      .github/actions/use-bazcache/action.yml

+ 2 - 0
.github/actions/use-bazcache/action.yml

@@ -14,11 +14,13 @@ runs:
       cat >> .bazelrc << 'EOF'
       build --disk_cache=${{ env.BCACHE_DIR }}
       build --experimental_disk_cache_gc_max_size=1G
+      build --profile=profile.json
       EOF
       else
       touch .bazelrc
       cat >> .bazelrc << 'EOF'
       build --disk_cache=${{ env.BCACHE_DIR }}
       build --experimental_disk_cache_gc_max_size=1G
+      build --profile=profile.json
       EOF
       fi