Skip to content

Commit e71ac15

Browse files
committed
Download and extracted size must be integer
1 parent db33642 commit e71ac15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-rpi-imager-json.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
image_download_sha256=$(wget -qO- "${REDI_URL}.sha" | cut -d" " -f1)
122122
echo "Armbian OS $IMAGE_RELEASE $IMAGE_TARGET $ARMBIAN_VERSION|Ultralight custom $RELEASE OS for single board computers|$IMAGE_URL|https://www.armbian.com/armbian-logo-40x40.png|https://www.armbian.com|${IMAGE_CREATED:0:10}|$extract_size|$extract_sha256|$IMAGE_SIZE|$image_download_sha256||systemd"
123123
124-
done | sed '1s/^/"name"|"description"|"url"|"icon"|"website"|"release_date"|"extract_size"|"extract_sha256"|"image_download_size"|"image_download_sha256"|"devices"|"init_format"\n/' | jc --csv | jq '{"os_list": ([.[] | .devices = ["pi5-64bit", "pi4-64bit", "pi3-64bit"]])}' > rpi-imager.json
124+
done | sed '1s/^/"name"|"description"|"url"|"icon"|"website"|"release_date"|extract_size|"extract_sha256"|image_download_size|"image_download_sha256"|"devices"|"init_format"\n/' | jc --csv | jq '{"os_list": ([.[] | .devices = ["pi5-64bit", "pi4-64bit", "pi3-64bit"]])}' > rpi-imager.json
125125
126126
- name: Commit changes if any
127127
run: |
@@ -136,4 +136,4 @@ jobs:
136136
git config --global user.email "[email protected]"
137137
git add data/.
138138
git diff --cached --quiet || git commit -m "Update WEB indes files"
139-
git push
139+
git push

0 commit comments

Comments
 (0)