Skip to content

Commit 4ec5c18

Browse files
author
omars44
committed
windows dll signature utf-8
1 parent cd9aa8d commit 4ec5c18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/windows-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,17 @@ jobs:
9797
SOLR_SERVER_CONFIGURED: 0
9898
run: nmake test TESTS="--show-diff -g FAIL,BORK,WARN,LEAK tests"
9999

100-
- name: Copy DLL to CWD and Compute SHA256
100+
- name: Copy DLL to CWD and sign it
101101
if: startsWith(github.ref, 'refs/tags/')
102102
shell: powershell
103103
run: |
104104
Copy-Item -Path $env:dll_full_path -Destination "."
105105
$checksum = Get-FileHash -Path "php_solr.dll" -Algorithm SHA256
106106
$checksumHashLowercase = $checksum.Hash.ToLower()
107-
$checksumHashLowercase | Out-File "php_solr.dll.sha256"
107+
[System.IO.File]::WriteAllText("php_solr.dll.sha256", $checksumHashLowercase)
108108
Write-Host "SHA256: $checksumHashLowercase"
109109
110+
110111
- name: Upload DLL to release
111112
if: startsWith(github.ref, 'refs/tags/')
112113
uses: svenstaro/upload-release-action@v2

0 commit comments

Comments
 (0)