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 7647ec5 commit 59854c5
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 @@ -29,8 +29,8 @@ jobs:
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"
# Fix line endings to ensure compatibility with Unix/macOS
(Get-Content "$FILE.sha256sum") -replace "`r`n", "`n" | Set-Content "$FILE.sha256sum" -NoNewline
# Fix line endings
(Get-Content "$FILE.sha256sum") -replace "`r`n", "`n" | Set-Content "$FILE.sha256sum"
- name: Store the .dll file and sha256sum file
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 59854c5

Please sign in to comment.