From 66e8c7f40abdd9e7a31c3c7a3caa78e5a37943c6 Mon Sep 17 00:00:00 2001 From: oberrich Date: Fri, 10 Jan 2025 06:49:28 +0100 Subject: [PATCH] chore: use nushell in ci --- .github/workflows/rust.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 12fa413..02ff884 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -51,6 +51,9 @@ jobs: - name: Use nushell if: matrix.os == 'windows-11-preview_aarch64' run: | + Set-ExecutionPolicy Bypass -Scope Process -Force + + function Log { param( [Parameter(Mandatory=$true)] [string]$Message, @@ -95,7 +98,7 @@ jobs: $exports | ForEach-Object { $_ | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - Log -Message "Added $_ to \$GITHUB_PATH" + Log -Message "Added $_ to GITHUB_PATH" } - name: Install Rust