Skip to content

Commit a4f598f

Browse files
committed
Convert two fields to integer
1 parent e71ac15 commit a4f598f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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"]])}' | jq '.os_list.[].image_download_size |= tonumber' | jq '.os_list.[].extract_size |= tonumber' > rpi-imager.json
125125
126126
- name: Commit changes if any
127127
run: |

0 commit comments

Comments
 (0)