You've already forked distribution
mirror of
https://github.com/armbian/distribution.git
synced 2026-01-06 10:34:06 -08:00
Update test.yml
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
sudo npm install --location=global json || true
|
||||
truncate README.me --size=0 || true
|
||||
echo "| Image | GPG | SHA | Branch | Variant | Kernel |" >> README.tmp
|
||||
echo "| --- | --- | --- | --- |" >> README.tmp
|
||||
echo "| --- | :--: | :--: | :--: | :--: | --- |" >> README.tmp
|
||||
gh release view $(gh release list | awk '{print $1}' | head -1) --json assets 2>/dev/null | python3 -mjson.tool | sed '1,2d;$d' | json -ga name url -d, | sort | (
|
||||
while read -r line; do
|
||||
name=$(echo $line | cut -d"," -f1)
|
||||
@@ -38,7 +38,7 @@ jobs:
|
||||
out_kernel=$(echo $name | cut -d"_" -f6-7 | cut -d"." -f1-3 | cut -d"_" -f1)
|
||||
out_desktop=$(echo $name | cut -d"_" -f7)
|
||||
out_desktop=${out_desktop:-cli}
|
||||
echo -ne "| [$out_name]($url) | [GPG]($url".asc") | [SHA]($url".sha") | $out_branch | $out_desktop | $out_kernel |\n" >> README.tmp
|
||||
echo -ne "| [$out_name]($url) | [:file_folder:]($url".asc") | [:file_folder:]($url".sha") | $out_branch | $out_desktop | $out_kernel |\n" >> README.tmp
|
||||
fi
|
||||
done
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user