Explorar o código

Add profile configuration to Bazelrc generation

jimsterino98 hai 4 meses
pai
achega
0b788451d6
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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'
       cat >> .bazelrc << 'EOF'
       build --disk_cache=${{ env.BCACHE_DIR }}
       build --disk_cache=${{ env.BCACHE_DIR }}
       build --experimental_disk_cache_gc_max_size=1G
       build --experimental_disk_cache_gc_max_size=1G
+      build --profile=profile.json
       EOF
       EOF
       else
       else
       touch .bazelrc
       touch .bazelrc
       cat >> .bazelrc << 'EOF'
       cat >> .bazelrc << 'EOF'
       build --disk_cache=${{ env.BCACHE_DIR }}
       build --disk_cache=${{ env.BCACHE_DIR }}
       build --experimental_disk_cache_gc_max_size=1G
       build --experimental_disk_cache_gc_max_size=1G
+      build --profile=profile.json
       EOF
       EOF
       fi
       fi