This is an automated email from the ASF dual-hosted git repository.

fgerlits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 66c9586329582ab7f79f492eb118badda8a85dd9
Author: Adam Debreceni <[email protected]>
AuthorDate: Wed May 31 13:55:49 2023 +0200

    MINIFICPP-2128 - Verify the hash of a thirdparty dependency
    
    Signed-off-by: Ferenc Gerlits <[email protected]>
    This closes #1582
---
 .github/workflows/ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 11b9c618d..00c59f5c2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -96,6 +96,7 @@ jobs:
       - id: install-sqliteodbc-driver
         run: |
           Invoke-WebRequest -Uri 
"http://www.ch-werner.de/sqliteodbc/sqliteodbc_w64.exe"; -OutFile 
"sqliteodbc_w64.exe"
+          if ((Get-FileHash 'sqliteodbc_w64.exe').Hash -ne 
"bd93e8450bcbd4ae16894e06ecb1b8572d6a01448df5b8dd2964eb6d3d302db7") {Write 
"Hash mismatch"; Exit 1}
           ./sqliteodbc_w64.exe /S
         shell: powershell
       - name: build

Reply via email to