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