Skip to content

Commit

Permalink
chore: improve ci powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Jan 10, 2025
1 parent 03cf03a commit cb3451b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
$install_file = $dep.Url
}
Log "Installing $($dep.Name)..."
if ($dep.Hash -ne $null) {
$expected_hash = if ($dep.Hash -like "*.sha256") {
$hash_file = Join-Path '${{ github.workspace }}' (Split-Path $dep.Hash -Leaf)
Expand All @@ -105,7 +106,6 @@ jobs:
Log "No hash specified, skipping verification."
}
Log "Starting installation of $($dep.Name)..."
try {
& $dep.Action 2>&1 | Out-Null
Log "$($dep.Name) installation completed."
Expand Down

0 comments on commit cb3451b

Please sign in to comment.