We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0363a71 commit e85a89fCopy full SHA for e85a89f
.github/actions/download-openh264/action.yml
@@ -200,7 +200,8 @@ runs:
200
Write-Host "Downloading MD5 checksum..."
201
Invoke-WebRequest -Uri $MD5_URL -OutFile "md5.txt"
202
$md5Content = Get-Content "md5.txt" -Raw
203
- $expectedMd5 = ($md5Content -split '=')[1].Trim().ToLower()
+ # MD5ファイル形式: "md5 *filename" から md5 部分を抽出
204
+ $expectedMd5 = ($md5Content.Trim() -split '\s+')[0].ToLower()
205
$actualMd5 = (Get-FileHash -Path $dllName -Algorithm MD5).Hash.ToLower()
206
if ($expectedMd5 -ne $actualMd5) {
207
Write-Host "Error: MD5 checksum mismatch!"
0 commit comments