Skip to content

Commit 9a97939

Browse files
committed
Check if UF2 files are actually zip files, and unzip them
1 parent 0d465d9 commit 9a97939

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,11 @@ jobs:
8686
run: |
8787
picotool help
8888
curl -L https://datasheets.raspberrypi.com/soft/blink.uf2 -o blink.uf2
89+
unzip -o blink.uf2 || true
8990
curl -L https://datasheets.raspberrypi.com/soft/hello_world.uf2 -o hello_world.uf2
91+
unzip -o hello_world.uf2 || true
9092
curl -L https://datasheets.raspberrypi.com/soft/flash_nuke.uf2 -o flash_nuke.uf2
93+
unzip -o flash_nuke.uf2 || true
9194
picotool info -a blink.uf2
9295
picotool info -a hello_world.uf2
9396
picotool info -a flash_nuke.uf2

0 commit comments

Comments
 (0)