Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Feb 3, 2025
1 parent 59854c5 commit e11d226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
New-Item -ItemType File -Path "$FILE.sha256sum" | Out-Null
Set-ItemProperty -Path "$FILE.sha256sum" -Name IsReadOnly -Value $false
# Generate SHA256 checksum and write it in lowercase
Get-FileHash -Algorithm SHA256 -Path $FILE | ForEach-Object { "$($_.Hash.ToLower()) $FILE" } > "$FILE.sha256sum"
Get-FileHash -Algorithm SHA256 -Path $FILE | ForEach-Object { "$($_.Hash.ToLower()) $FILE" } > "$FILE.sha256sum"
# Fix line endings
(Get-Content "$FILE.sha256sum") -replace "`r`n", "`n" | Set-Content "$FILE.sha256sum"
(Get-Content "$FILE.sha256sum") -replace "`r`n", "`n`n" | Set-Content "$FILE.sha256sum" -NoNewline
- name: Store the .dll file and sha256sum file
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit e11d226

Please sign in to comment.