Update weekly_stats.yaml

This commit is contained in:
Alexandre
2023-01-09 10:03:13 +01:00
committed by GitHub
parent 10d7a9b2fd
commit a4fd9e1e08

View File

@@ -109,6 +109,7 @@ jobs:
run: | run: |
# Prepare data # Prepare data
cp Stats Stats3 cp Stats Stats3
sudo apt-get install gawk -y
# Inverse file # Inverse file
gawk -i inplace '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' Stats3 gawk -i inplace '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' Stats3
# Only totals # Only totals
@@ -129,7 +130,7 @@ jobs:
} }
print str print str
} }
}' Stats3 }' Stats3 > StatsTmp && mv StatsTmp Stats3 && rm StatsTmp
# Plot graph # Plot graph
sudo apt-get install gnuplot -y sudo apt-get install gnuplot -y
gnuplot -persist <<-EOFMarker gnuplot -persist <<-EOFMarker