mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
fix name
This commit is contained in:
parent
de714640bd
commit
80d6bdbb30
2 changed files with 2 additions and 2 deletions
2
.github/workflows/metrics.yaml
vendored
2
.github/workflows/metrics.yaml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: rustdoc
|
name: metrics
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|
|
@ -20,7 +20,7 @@ pub fn run_metrics() -> Result<()> {
|
||||||
let _d = pushd("target/metrics");
|
let _d = pushd("target/metrics");
|
||||||
let mut file = std::fs::OpenOptions::new().append(true).open("metrics.json")?;
|
let mut file = std::fs::OpenOptions::new().append(true).open("metrics.json")?;
|
||||||
writeln!(file, "{}", metrics.json())?;
|
writeln!(file, "{}", metrics.json())?;
|
||||||
run!("git commit -am'📈'")?;
|
run!("git commit --author='GitHub Action <>' -am'📈' ")?;
|
||||||
|
|
||||||
if let Ok(actor) = env::var("GITHUB_ACTOR") {
|
if let Ok(actor) = env::var("GITHUB_ACTOR") {
|
||||||
let token = env::var("GITHUB_TOKEN").unwrap();
|
let token = env::var("GITHUB_TOKEN").unwrap();
|
||||||
|
|
Loading…
Reference in a new issue