From 45b876fb2e33f654aea57ec0e8007d45b10b44e4 Mon Sep 17 00:00:00 2001 From: maxwelbm Date: Wed, 8 Jan 2025 18:04:59 -0300 Subject: [PATCH] chore: calcale checksum zip :wrench: --- .github/workflows/packages-manager.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/packages-manager.yml b/.github/workflows/packages-manager.yml index a6e8d8d4..b66d4865 100644 --- a/.github/workflows/packages-manager.yml +++ b/.github/workflows/packages-manager.yml @@ -81,15 +81,15 @@ jobs: Write-Host "Extracting $zipFile to $toolsDir" Expand-Archive -Path $zipFile -DestinationPath $toolsDir -Force - - Remove-Item $zipFile shell: pwsh - name: Prepare run: | # Checksum Calculate - $outputFile = "$(Resolve-Path .\chocolatey\tools\mdz.exe)" - $checksum = (Get-FileHash -Path $outputFile -Algorithm SHA256).Hash + $zipFile = "$(Resolve-Path .\chocolatey\tools\mdz.zip)" + $checksum = (Get-FileHash -Path $zipFile -Algorithm SHA256).Hash + + Remove-Item $zipFile Write-Host "Updating nuspec version to ${{ needs.get_branch.outputs.version }}" $nuspecPath = Resolve-Path .\chocolatey\mdz.nuspec