mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update helper_stats_graphs.yaml
This commit is contained in:
9
.github/workflows/helper_stats_graphs.yaml
vendored
9
.github/workflows/helper_stats_graphs.yaml
vendored
@@ -47,7 +47,8 @@ jobs:
|
||||
}
|
||||
print str
|
||||
}
|
||||
}' Stats3 > StatsTmp && mv StatsTmp Stats3
|
||||
}' Stats3 > StatsTmp && mv StatsTmp .github/Stats3
|
||||
cd .github || true
|
||||
# Add download count to names
|
||||
build_list="$(head -n 1 Stats3)"
|
||||
# shellcheck disable=SC2206
|
||||
@@ -100,6 +101,7 @@ jobs:
|
||||
)
|
||||
#plot for [i=1:*] 'Stats3' using 0:i
|
||||
rm Stats3
|
||||
cd .. || true
|
||||
|
||||
- name: Create individual stats
|
||||
run: |
|
||||
@@ -177,6 +179,7 @@ jobs:
|
||||
fi || true
|
||||
done
|
||||
# Clean files
|
||||
rm StatsTmp2
|
||||
rm Stats3
|
||||
- name: Create global stats
|
||||
run: |
|
||||
@@ -202,7 +205,8 @@ jobs:
|
||||
}
|
||||
print str
|
||||
}
|
||||
}' Stats3 > StatsTmp && mv StatsTmp Stats3
|
||||
}' Stats3 > StatsTmp && mv StatsTmp .github/Stats3
|
||||
cd .github || true
|
||||
sed -i "1d" Stats3
|
||||
# Plot graph
|
||||
gnuplot-nox -persist <<-EOFMarker
|
||||
@@ -221,6 +225,7 @@ jobs:
|
||||
plot 'Stats3' using 1:2 lt rgb 'red' w l title 'Total addons' smooth bezier
|
||||
EOFMarker
|
||||
rm Stats3
|
||||
cd .. || true
|
||||
- name: Update stars
|
||||
run: |
|
||||
echo "Starting run"
|
||||
|
||||
Reference in New Issue
Block a user