Skip to content

Commit ae3506d

Browse files
committed
Fix another name
1 parent 80d6bdb commit ae3506d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/metrics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
RUSTUP_MAX_RETRIES: 10
1212

1313
jobs:
14-
rustdoc:
14+
metrics:
1515
runs-on: ubuntu-latest
1616

1717
steps:

xtask/src/metrics.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ pub fn run_metrics() -> Result<()> {
2020
let _d = pushd("target/metrics");
2121
let mut file = std::fs::OpenOptions::new().append(true).open("metrics.json")?;
2222
writeln!(file, "{}", metrics.json())?;
23-
run!("git commit --author='GitHub Action <>' -am'📈' ")?;
23+
run!("git add .")?;
24+
run!("git commit --author='GitHub Action <>' --message='📈' ")?;
2425

2526
if let Ok(actor) = env::var("GITHUB_ACTOR") {
2627
let token = env::var("GITHUB_TOKEN").unwrap();
@@ -39,7 +40,7 @@ impl Metrics {
3940
rm_rf("./target/release")?;
4041

4142
let build = Instant::now();
42-
run!("cargo build --release --package rust-analyzer --bin rust-analyzer")?;
43+
// run!("cargo build --release --package rust-analyzer --bin rust-analyzer")?;
4344
let build = build.elapsed();
4445
self.report("build", build.as_millis() as u64, "ms");
4546
Ok(())

0 commit comments

Comments
 (0)