From a2a9c5528b02a406e275eed6579f9f2327ee1375 Mon Sep 17 00:00:00 2001 From: oberrich Date: Fri, 10 Jan 2025 06:16:14 +0100 Subject: [PATCH] chore: use nushell in ci --- .github/workflows/rust.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index dd74db3..b9d51af 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -59,17 +59,7 @@ jobs: Write-Host "$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss') [$Level] - $Message" } - function Install { - param( - [Parameter(Mandatory=$true)] [string]$Name, - [Parameter(Mandatory=$true)] [scriptblock]$Action, - [string]$Level = "INFO" - ) - - Log -Level $Level -Message "Installing $SoftwareName..." - &$Action - Log -Level $Level -Message "$SoftwareName installation completed." - } + Export-ModuleMember -Function Log $installs = @( @{ Name = 'LLVM 19.1.5 (aarch64)'; Action = { & '${{github.workspace}}\LLVM-19.1.5-woa64.exe' /S } },