Skip to content

Commit

Permalink
chore: calcale checksum zip 🔧
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwelbm committed Jan 8, 2025
1 parent 1d54f0f commit 45b876f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/packages-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45b876f

Please sign in to comment.