Skip to content

Commit

Permalink
ci(github): wrap long PowerShell lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed May 23, 2024
1 parent f503d7b commit f0c31af
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,14 @@ jobs:
- name: Install MoSML
run: |
New-Item -ItemType Directory -Path C:\mosml -Force
Invoke-WebRequest -Uri https://dbohdan.com/dist/mosml-2.10.1-win32.7z -OutFile C:\mosml\mosml.7z
Invoke-WebRequest `
-Uri https://dbohdan.com/dist/mosml-2.10.1-win32.7z `
-OutFile C:\mosml\mosml.7z
if (
(Get-FileHash -Algorithm SHA256 C:\mosml\mosml.7z).Hash -ne "9FC6EA9DC6CCF0919B9801778572AF94E8BCDFDBB66CD0E235ED5A782D84F8B4"
(Get-FileHash -Algorithm SHA256 C:\mosml\mosml.7z).Hash
-ne
"9FC6EA9DC6CCF0919B9801778572AF94E8BCDFDBB66CD0E235ED5A782D84F8B4"
) {
throw "Wrong checksum: mosml.7z"
}
Expand All @@ -84,7 +88,9 @@ jobs:
7z x busybox.7z
if (
(Get-FileHash -Algorithm SHA256 busybox.exe).Hash -ne "DD6B2FC4D4809FF39F0E738C0DCB85624187ABF3E3239043BDD4E64BB4BA8EC3"
(Get-FileHash -Algorithm SHA256 busybox.exe).Hash
-ne
"DD6B2FC4D4809FF39F0E738C0DCB85624187ABF3E3239043BDD4E64BB4BA8EC3"
) {
throw "Wrong checksum: busybox.exe"
}
Expand Down

0 comments on commit f0c31af

Please sign in to comment.