From aa239418cfde2663bac07cad422c49e802b89e73 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Thu, 9 Apr 2026 16:57:30 +0200 Subject: [PATCH] use more local environment instead of copying data into script --- .github/workflows/win-exe.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index 56ffe9660..925845b89 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -349,10 +349,10 @@ jobs: shell: pwsh - name: Download WinFsp run: | - curl --silent --fail-with-body --proto "=https" -L ${{ env.WINFSP_MSI }} --output $env:WINFSP_PATH - $computedHash = (Get-FileHash -Path $env:WINFSP_PATH -Algorithm SHA256).Hash.ToLower() - if ($computedHash -ne "${{ env.WINFSP_MSI_HASH }}") { - throw "Checksum mismatch for $env:WINFSP_PATH (expected ${{ env.WINFSP_MSI_HASH }}, got $computedHash)." + curl --silent --fail-with-body --proto "=https" -L "$env:WINFSP_MSI" --output $env:WINFSP_PATH + $computedHash = (Get-FileHash -Path "$env:WINFSP_PATH" -Algorithm SHA256).Hash.ToLower() + if ($computedHash -ne "$env:WINFSP_MSI_HASH") { + throw "Checksum mismatch for ${env:WINFSP_PATH} (expected ${env:WINFSP_MSI_HASH}, got $computedHash)." } env: WINFSP_PATH: 'dist/win/bundle/resources/winfsp.msi'