Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit e74e0c5

Browse files
authored
Update monthly_release.yml
1 parent 5eb0165 commit e74e0c5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/monthly_release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ jobs:
3737
mkdir oscr_release
3838
cd oscr_release
3939
powershell Invoke-WebRequest https://downloads.arduino.cc/arduino-1.8.19-windows.zip -OutFile arduino-1.8.19-windows.zip
40+
FOR /F "usebackq delims=" %%H IN (`powershell -Command "(Get-FileHash 'arduino-1.8.19-windows.zip' -Algorithm SHA256).Hash"`) DO (
41+
SET HASH=%%H
42+
)
43+
IF /I NOT "%HASH%"=="C704A821089EAB2588F1DEAE775916219B1517FEBD1DD574FF29958DCA873945" (
44+
ECHO Checksum mismatch!
45+
EXIT /B 1
46+
) ELSE (
47+
ECHO Checksum OK.
48+
)
4049
powershell expand-archive arduino-1.8.19-windows.zip
4150
del arduino-1.8.19-windows.zip
4251
cd arduino-1.8.19-windows

0 commit comments

Comments
 (0)